Every way of stopping it counts the same
A CAlarm alarm can be stopped with the side button, a volume button or the slider on the Lock Screen. iOS reports all of them to the app as the same stop, so there is no way to tell a deliberate stop from a reflex. With Prevent accidental stop on, the alarm treats every stop as a snooze: it goes quiet and rings again after the snooze interval you chose, with no limit on how many times.
Only Stop snooze in the app ends it
To finish, open CAlarm and tap Stop snooze on the alarm in the list. Opening the app and reading the screen is a small, deliberate step, and that is the point: it is hard to do asleep, so the alarm keeps coming back until you are up enough to do it.
Where the setting is
Open the alarm, then open Snooze settings. The Prevent accidental stop switch is at the top, with the snooze interval below it. It applies when a snooze interval is set, and it is chosen per alarm, so the Monday 5 am alarm can have it on while the reminder for the dentist does not. It is free.
It still rings on silent
Each repeat is registered as an alarm through Apple AlarmKit (iOS 26), so it rings at alarm volume on silent and in Focus. While it is snoozed, the time until it rings again shows on the Lock Screen and in the Dynamic Island, so you can see what is coming before it does.
Choose the interval for the person you are at that hour
Snooze runs from one minute to twelve hours, set per alarm. For a morning alarm, five to ten minutes keeps the pressure on; a longer interval turns the setting into a backstop rather than a wake-up. For a nap, a short interval and this setting together are usually enough.