sodcalculator

10 Tech How-To

Lock Apps on iPhone in iOS 17: Full Guide

Guide 10-57913 · Updated · Step by step

To lock individual apps in iOS 17, you can use the built-in Screen Time feature to set an app limit with a passcode, or you can use Face ID/Touch ID to lock an app via Shortcuts automation. This guide explains both methods step by step, plus what to do if you need a more permanent solution. Note that iOS 17 does not have a direct “Lock App” button like Android, but these workarounds are effective and free.

Why iOS 17 Doesn’t Have a Native App Lock

Apple has never offered a simple per-app lock on the iPhone. The company’s philosophy is that the device itself is protected by Face ID or Touch ID, and once you unlock it, all your apps are accessible. To lock a specific app, you have to rely on workarounds. In iOS 17, the two most reliable methods are Screen Time app limits and Shortcuts automation. Both use your device passcode or Face ID to protect the app, and both are built into the system—no third-party apps required.

Method 1: Use Screen Time to Lock an App

Screen Time is designed to limit how long you use apps, but you can turn it into an app locker. When you set an app limit of 1 minute, the app will lock itself after that minute, and you’ll need to enter a Screen Time passcode to get more time. Here’s how to set it up:

  1. Open Settings and tap Screen Time.
  2. If you haven’t enabled Screen Time, tap Turn On Screen Time and set a passcode. Make sure you remember this passcode—it’s different from your device passcode.
  3. Tap App Limits → Add Limit.
  4. Select the app or category you want to lock (e.g., Photos, WhatsApp, Settings).
  5. Set the time limit to 1 minute (the minimum allowed).
  6. Tap Add at the top right.

Now, when you open the app, you’ll get a timer for 1 minute. After it expires, the app will be blocked. To use it again, you’ll need to tap Ask for More Time and enter your Screen Time passcode. If you want to lock the app immediately, you can also go to Screen Time → Always Allowed and make sure the app is not in the allowed list—but that’s less direct.

Method 2: Use Shortcuts to Lock an App with Face ID

This method uses the Shortcuts app to create an automation that locks the app when you open it. It’s a bit more technical, but it gives you a Face ID prompt instead of a passcode. Here’s how:

  1. Open the Shortcuts app (it’s preinstalled on your iPhone).
  2. Tap the Automation tab at the bottom.
  3. Tap the + icon and choose Create Personal Automation.
  4. Scroll down and select App.
  5. Choose Is Opened, then tap Choose and select the app you want to lock.
  6. Tap Next, then tap Add Action.
  7. Search for Lock Screen and add the “Lock Screen” action.
  8. Turn off Ask Before Running so the automation runs automatically.
  9. Tap Done.

Now, whenever you open that app, the screen will lock immediately. To use the app again, you’ll have to unlock your iPhone with Face ID or your passcode. This effectively locks the app, but it also locks the whole phone—so it’s not a true per-app lock, but it’s a common workaround.

How to Choose the Right Method for You

Both methods work, but they have different strengths. Consider your needs:

  • Screen Time is better if you want to lock the app for a specific time period (like a child’s gaming app) or if you want to block the app entirely after a daily limit.
  • Shortcuts is better if you want immediate locking every time you open the app, and you prefer Face ID over entering a passcode.
  • If you want to lock an app without any time limit, Screen Time’s 1-minute limit is the closest you can get—but the app will still open for that minute.
  • If you want to hide an app entirely, you can use Screen Time’s Content & Privacy Restrictions to disable the app, but that’s more drastic.

Common Problems and How to Fix Them

Here are a few issues you might run into and how to solve them:

  • Forgot the Screen Time passcode? You can reset it by going to Settings → Screen Time → Change Screen Time Passcode → Forgot Passcode. You’ll need your Apple ID and password.
  • Shortcuts automation doesn’t run? Make sure you turned off “Ask Before Running” and that you have the latest iOS 17 update. Also, check that the automation is enabled in the Automation tab.
  • App still opens after the limit? If you have “Block at End of Limit” turned off, the app will just show a warning. Go to Screen Time → App Limits and make sure the toggle is on.
  • Automation locks the screen but the app still opens? This is normal—the lock happens after the app opens. If you want to prevent the app from opening, use Screen Time instead.

What About Third-Party App Lockers?

You might see apps on the App Store that claim to lock other apps. Be careful—Apple does not allow third-party apps to control other apps’ access. Most of these apps are either fake, require you to configure a VPN or profile (which is risky), or they simply don’t work. The only safe, reliable ways to lock apps are the built-in methods described above. Avoid any app that asks for a configuration profile or a VPN—it could be a security risk.

Frequently Asked Questions

Can I lock an app with Face ID directly in iOS 17?

No, there is no direct setting to lock an individual app with Face ID. The Shortcuts automation method is the closest you can get, but it locks the entire screen, not just the app. If you want a true per-app lock, you’d need to jailbreak your iPhone, which is not recommended.

Does Screen Time app limit work for all apps?

Yes, you can set a limit for any app, including system apps like Settings and Safari. However, some system apps may not be affected by limits if they are in the “Always Allowed” list. You can remove them from that list in Screen Time settings.

Will the app lock work if the phone is restarted?

Yes, both methods persist after a restart. Screen Time limits and Shortcuts automations are stored on the device and will continue to work. However, if you restart, you may need to re-enter your Screen Time passcode to change settings.

Can I lock an app without a passcode?

No, both methods require a passcode or Face ID. Screen Time requires a passcode to extend time, and Shortcuts locks the screen which requires your device passcode or Face ID. There is no way to lock an app without some form of authentication.

Is there a way to lock apps in iOS 18?

As of iOS 18, Apple still does not offer a native per-app lock. The same Screen Time and Shortcuts methods work. However, iOS 18 added the ability to lock and hide apps with Face ID, but that feature is limited to iOS 18 and later, not iOS 17. If you’re on iOS 17, use the methods in this guide.

What if I want to lock an app for a child?

Screen Time is the best option for parental control. You can set a passcode that your child doesn’t know, and set a daily time limit for specific apps. You can also use “Downtime” to block apps during certain hours. This is more flexible than the Shortcuts method.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →