How to Lock Apps on iPhone and iPad
In this article
You can lock apps on iPhone and iPad using the Screen Time feature to set time limits or by using the built-in lock features within specific apps like WhatsApp or Notes. While iOS does not have a universal "lock app" toggle for every single application, the Screen Time method effectively blocks access after a set period, requiring a passcode to continue. Labels and menu paths may vary slightly depending on your device model, iOS version, or regional settings.
What You'll Need
- An iPhone or iPad running a recent version of iOS or iPadOS.
- A Screen Time passcode (which is different from your device unlock passcode).
- Face ID, Touch ID, or a passcode enabled on the device for app-specific locks.
Step-by-Step
Since Apple does not provide a single "Lock" button for all third-party apps, there are three primary ways to achieve this depending on your goal: using Screen Time for general apps, using native app locks for sensitive data, and using the Shortcuts app for a custom automation lock.
Method 1: Using Screen Time for General App Locking
This method allows you to set a time limit on an app. Once the limit is reached, the app locks and requires a passcode to open.
- Open the Settings app on your iPhone or iPad.
- Tap on Screen Time.
- If you have not used this feature before, tap Turn On Screen Time and follow the prompts.
- Tap Use Screen Time Passcode. Enter a four-digit code that is different from your phone's unlock code. This ensures that someone who knows how to unlock your phone cannot simply bypass the app lock.
- Go back to the main Screen Time menu and tap App Limits.
- Tap Add Limit.
- Select the category of apps you want to lock, or scroll down to the All Apps section to select a specific application. Tap the checkmark next to the app and then tap Next.
- Set the time limit to 1 minute. This is the shortest possible duration, ensuring the app locks quickly after a single day of use.
- Ensure the toggle for Block at End of Limit is turned on. Tap Add in the top right corner.
- Now, once you have used that app for one minute during the day, it will lock. To open it again, you must tap Ask For More Time and enter the Screen Time passcode.
Method 2: Using Built-in App Locks (For Specific Apps)
Many high-security apps have their own internal locking mechanisms that use Face ID or Touch ID. This is the most secure method for individual apps.
- For WhatsApp: Open WhatsApp > Settings > Privacy > Screen Lock. Toggle on Require Face ID or Require Touch ID.
- For Notes: Open a specific note > Tap the three dots (More) icon > Tap Lock. You will be prompted to create a password or use your device passcode.
- For Banking/Finance Apps: Most banking apps enable this by default. Look under the app's internal Settings > Security menu to ensure biometric locking is active.
Method 3: Using Shortcuts for a Custom Lock (Advanced)
You can create an automation that locks your screen immediately when a specific app is opened, effectively forcing the user to provide Face ID or a passcode to enter.
- Open the Shortcuts app.
- Tap the Automation tab at the bottom.
- Tap the + icon (or Create Personal Automation).
- Scroll down and select App.
- Tap Choose and select the app you want to lock. Ensure Is Opened is checked and select Run Immediately. Tap Next.
- Tap New Blank Automation.
- Tap Add Action and search for Lock Screen. Select the Lock Screen action.
- Tap Done. Now, whenever that app is opened, the device will instantly jump to the lock screen, requiring biometric authentication to get back in.
Common Mistakes
One of the most frequent errors users make is using the same passcode for their device unlock and their Screen Time lock. If a child or unauthorized user knows your phone's main passcode, they can easily guess or reset the Screen Time passcode if it is identical. Always choose a unique four-digit code for Screen Time.
Another common mistake is forgetting to toggle the Block at End of Limit switch in the App Limits menu. If this is off, the phone will simply send a notification that the time limit has been reached, but it will allow the user to ignore the warning and continue using the app without a passcode.
Users also often forget that the Screen Time 1-minute limit resets every 24 hours. This means every morning, the app will be unlocked for exactly one minute before the lock kicks in again. This is a system limitation of iOS and cannot be changed within the Screen Time settings.
Tips
To make the Screen Time method more seamless, you can group multiple apps into a single limit. For example, if you want to lock all social media, select Instagram, TikTok, and X (Twitter) under one 1-minute limit. This prevents you from having to set up individual timers for every single app.
If you find the Shortcuts automation method too aggressive, you can add a "Wait" command of one or two seconds before the Lock Screen action. This gives the app a moment to load before the screen locks, which can sometimes prevent the system from glitching during the transition.
For those who need to hide apps entirely rather than just locking them, remember that you can remove an app from the Home Screen without deleting it. Long-press the app > Remove App > Remove from Home Screen. The app will still be available in the App Library, but it is less visible to casual users.
Troubleshooting
The app is not locking after the time limit: First, restart your device. Sometimes the Screen Time daemon crashes and fails to track usage. If a restart does not work, go to Settings > Screen Time > App Limits, delete the limit for that app, and recreate it from scratch. Ensure Block at End of Limit is definitely enabled.
I forgot my Screen Time passcode: Do not panic. You do not need to factory reset your phone. Go to Settings > Screen Time > Change Screen Time Passcode. Tap Forgot Passcode? You will be prompted to enter the Apple ID and password used to set up the Screen Time passcode, which will allow you to reset it.
The Shortcuts automation isn't triggering: Check that you selected Run Immediately instead of Notify When Run. If it is set to notify, the phone will ask for permission to run the lock script every time, which defeats the purpose of the lock. Also, ensure that the Shortcuts app has the necessary permissions to access system settings.
Face ID is not working for a specific app: Go to Settings > Face ID & Passcode and ensure that the toggle for the specific app (if listed) or general app access is enabled. If Face ID fails repeatedly, the device will default to the passcode, which is a security feature to prevent unauthorized access via biometric spoofing.
Frequently Asked Questions
Can I lock apps with a different password for each app?
No, iOS does not support per-app passwords. You can use one Screen Time passcode for all limited apps, or use the individual internal passwords provided by specific apps like Notes or WhatsApp.
Does locking an app stop notifications from appearing?
No. Locking an app via Screen Time or Shortcuts does not hide notifications. To hide notifications, go to Settings > Notifications, select the app, and turn off Allow Notifications or set Show Previews to Never.
Will locking an app delete its data?
No. None of the methods described—Screen Time, internal app locks, or Shortcuts—affect the data stored within the app. Your photos, messages, and accounts remain intact.
Can I lock the App Store so no one can download new apps?
Yes. Go to Settings > Screen Time > Content & Privacy Restrictions. Turn the toggle on, tap iTunes & App Store Purchases, and set Installing Apps to Don't Allow. This will remove the App Store icon from the home screen.
Is there a third-party app that can lock other apps?
Generally, no. Due to Apple's "sandboxing" security model, third-party apps are not allowed to control or lock other applications. Any app claiming to lock other apps usually uses a workaround or is not functional on non-jailbroken devices.