This is how you lock it with no way out.
You set an app limit, it held for a day or two, and then the limit screen turned into a speed bump. That is rarely the limit’s fault. The problem is the way past it: a button that lets you carry on, or a Screen Time passcode you know by heart.
This guide keeps your limit and takes the way out away. It takes about ten minutes, plus, on some versions, a short visit when your first lock opens.
Which names you will see. In iOS 27 and macOS 27, App Limits became Time Allowances, set per category with a daily total, and on iPhone the passcode settings moved to Passcode & Management. Apple says these need version 27 on all your devices, so if you still see App Limits, follow the steps for iOS 26 and earlier, Block at End of Limit included.
Once the passcode is set, every change needs it, so get the limit right first.
Skipping recovery. You can skip it. Apple advises against that, because without recovery a forgotten passcode can’t be reset. With Detox the passcode isn’t forgotten: it waits in your vault until your lock opens. That makes your Detox sign-in the key, so keep your password and recovery key somewhere safe.
Changing a Screen Time passcode always starts with the current one, so this part is on you, once.
One catch: changing the passcode keeps the Passcode Recovery account from when it was first created. If that account is yours, it can still reset the new passcode. For a clean start, turn the old passcode off instead (Change Screen Time Passcode, then Turn Off Screen Time Passcode) and create a new one with Detox.
Apple says Lock Screen Time Settings requires the passcode to change Screen Time settings and to allow more time when limits expire. On iOS 26 and earlier, each limit also has a switch, Block at End of Limit; on macOS 26 and earlier it is a checkbox, Block at end of limit, where you add or edit a limit. With it off, the limit screen offers Ignore Limit. With it on, you see Ask For More Time: iOS may still offer one more minute, and anything beyond that needs the passcode.
The iPhone shows that switch only once a passcode exists, and from then on changing a limit asks for it. If your Mac shows the checkbox before the passcode, select it then. Otherwise, this is what the short first lock is for:
From then on, past that one minute, the limit asks for a passcode you don’t have. That is the whole idea.
Digital Detox keeps your Screen Time passcode locked until the time you pick. It runs in your browser and needs JavaScript turned on.