Skip to Content

Lock iPhone Apps Behind Face ID or Your Passcode

by

In the interests of enhanced privacy, some third-party iOS apps include an option to require passcode or Face ID authentication before they can be opened, even though the iPhone is already unlocked. This puts the app's contents behind an additional layer of security, but not all apps offer the same facility.

iphone passcode green
Until recently, Apple did not offer a way to individually lock sensitive apps like Photos, and iPhone users had to resort to Screen Time's App Limits as a workaround. Fortunately however that's no longer the case, because you can now create an additional security barrier for any app on your iPhone using a shortcut action that's included in iOS 16.4 and later.

Apple has added several more actions to the Shortcuts app, and the one that interests us here is Lock Screen. The Lock Screen action essentially allows you to set up a personal automation that automatically locks your iPhone when a specified app is opened.

Of course, this action should pose no access issues for you as the iPhone owner, but it does mean that anyone else trying to open the app first needs to pass facial authentication or enter your passcode even though your iPhone was unlocked when they tapped the app icon.

The following steps guide you through the process of setting up a personal automation that will instantly lock your iPhone when the app of your choosing is opened.

  1. Launch the Shortcuts app, tap the Automation tab at the bottom of the screen.
  2. Tap the + button in the top-right corner, then scroll down the menu of options and choose App.
  3. On the next screen, tap Choose to select an app from the list of apps, then tap Done.
  4. Make sure Is Opened and Run Immediately are selected, then tap Next.
    shortcuts

  5. Start typing "Lock Screen" into the text field and select Lock Screen when it appears in the results below.
  6. You should see your new automation "When [app] is opened, Lock screen" added to the Automations list.
    shortcuts

Your personal automation is now complete and should automatically spring into action the next time you open the chosen app.

Top Rated Comments

klasma Avatar
47 months ago
Hopefully Apple will add this as a simple app toggle in Settings at some point.
Score: 29 Votes (Like | Disagree)
47 months ago
oh waw!!!! so easy and userfriendly.

Ffs.. without a how-to not a single user will ever figure this out.
Score: 29 Votes (Like | Disagree)
klasma Avatar
47 months ago
You’d probably also want to do this for the Shortcuts app itself, to prevent someone from disabling the automation.

Edit: And it turns out you can’t do that, see downthread.
Score: 23 Votes (Like | Disagree)
klasma Avatar
47 months ago

This workaround sounds promising -- but doesn't it just use the same spied passcode that thieves used to unlock the phone in the first place?
The use case here is when you give someone your unlocked phone, e.g. to play a game, that they don’t also get access to your sensitive data. Or when you leave your phone unlocked for a minute somewhere by accident.

This will be fun for law enforcement trying to inspect your phone, by the way.
Score: 18 Votes (Like | Disagree)
47 months ago
This workaround sounds promising -- but doesn't it just use the same spied passcode that thieves used to unlock the phone in the first place?
Score: 16 Votes (Like | Disagree)
47 months ago
Must get my head around shortcuts sometime.....
Score: 15 Votes (Like | Disagree)

Popular Stories

ipod nano 7 ios project

iPod Nano Can Finally Run iOS

Sunday November 29, 2026 10:10 am PST by
A new, unofficial software project allows Apple's seventh-generation iPod nano to run iOS and classic iPhone apps. Despite looking like a miniature iPod touch, the device originally ran its own operating system with an unusual, iOS 6-like interface and round app icons, without support for iPhone apps. At just 5.4mm thick and weighing 31 grams, it remains Apple's thinnest standalone device...
apple design award 2025

Apple Announces 2025 Design Award Winners Ahead of WWDC 2025

Tuesday June 3, 2025 10:14 am PDT by
As we wait for WWDC to kick off next Monday, Apple today announced the winners of its annual Apple Design Awards, recognizing apps and games for their innovation, ingenuity, and technical achievement. The 2025 Apple Design Award winners are listed below, with one app and one game selected per category: Delight and Fun - CapWords (App) and Balatro (Game) Innovation - Play (App) and PBJ -...
iPhone Duo Display Cracking

Apple Now Aims to Repair Rather Than Replace iPhone Duos With Cracked Screens

Saturday November 28, 2026 3:50 pm PST by
If your iPhone Duo experiences the inner display cracking issue, be aware that Apple may repair your device rather than replace it entirely at this point. Apple was initially providing customers with an entire iPhone Duo replacement if their device exhibited this issue. Apple Stores and Apple Authorized Service Providers are now able to order iPhone Duo parts though, and as such Apple has...
Latest Stories
Apple's OLED iPad Air Supply Race Heats Up as BOE Starts Production
Apple's OLED iPad Air Supply Race Heats Up as BOE Starts Production
24 minutes ago
Tim Cook and John Ternus Pay Tribute to Warren Buffett
Tim Cook and John Ternus Pay Tribute to Warren Buffett
2 hours ago
Disney Finishes Merging Disney+ and Hulu Apps
Disney Finishes Merging Disney+ and Hulu Apps
11 hours ago
Meta Working on New 'IRL' Social App
Meta Working on New 'IRL' Social App
13 hours ago
Google Launches 'Favorites' to Prioritize Your Go-To News Sites
Google Launches 'Favorites' to Prioritize Your Go-To News Sites
13 hours ago
Honda Vehicles Could Soon Support iPhone Car Keys
Honda Vehicles Could Soon Support iPhone Car Keys
14 hours ago
Anthropic Launches Claude App for Apple Watch
Anthropic Launches Claude App for Apple Watch
15 hours ago
Apple Releases Firmware Update for Beats 360
Apple Releases Firmware Update for Beats 360
16 hours ago
YouTube Recap 2026 Now Available: How to See Yours
YouTube Recap 2026 Now Available: How to See Yours
17 hours ago
Meta Launches $299 Muse Charm
Meta Launches $299 Muse Charm
17 hours ago
Third iOS 27.3 and macOS Golden Gate 27.3 Public Betas Now Available
Third iOS 27.3 and macOS Golden Gate 27.3 Public Betas Now Available
18 hours ago
Apple Reveals 'The Studio' Season 2 Release Date and First Teaser
Apple Reveals 'The Studio' Season 2 Release Date and First Teaser
19 hours ago
iOS 27.3 Will Let You Buy App Subscriptions for Groups
iOS 27.3 Will Let You Buy App Subscriptions for Groups
20 hours ago
Djay Pro 6 Debuts With TrackSense Music Intelligence Features
Djay Pro 6 Debuts With TrackSense Music Intelligence Features
21 hours ago
Get These Black Friday/Cyber Monday Apple Deals Before They're Gone
Get These Black Friday/Cyber Monday Apple Deals Before They're Gone
21 hours ago
North Carolina Delays Mobile ID Rollout Until Spring 2027
North Carolina Delays Mobile ID Rollout Until Spring 2027
21 hours ago
iPhone 18 Downgrades Could Blur the Line With Cheaper iPhone 18e
iPhone 18 Downgrades Could Blur the Line With Cheaper iPhone 18e
22 hours ago
Apple's Battersea Christmas Display Project Returns
Apple's Battersea Christmas Display Project Returns
23 hours ago
iPhone 18 and iPhone 18e Rumored to Share A20 Chip and 9GB RAM
iPhone 18 and iPhone 18e Rumored to Share A20 Chip and 9GB RAM
1 day ago
iPhone 18e Could Feature Dynamic Island
iPhone 18e Could Feature Dynamic Island
1 day ago
PSA: Don't Update Google Authenticator on iOS 27 Right Now [Update: Fixed]
PSA: Don't Update Google Authenticator on iOS 27 Right Now [Update: Fixed]
1 day ago
Google Adding AI Training Opt-Out for Search History
Google Adding AI Training Opt-Out for Search History
1 day ago
Anthropic Delays Next Claude Model, Wants Rivals to Follow
Anthropic Delays Next Claude Model, Wants Rivals to Follow
2 days ago
Spyware Disguised as Network Test App Hid in App Store for Months
Spyware Disguised as Network Test App Hid in App Store for Months
2 days ago
HomePod Mini 2 Supports Siri AI With Latest Betas
HomePod Mini 2 Supports Siri AI With Latest Betas
2 days ago
macOS Golden Gate 27.3 Beta 3 Now Available for Developers
macOS Golden Gate 27.3 Beta 3 Now Available for Developers
2 days ago
Apple Releases Third Betas of iOS 27.3 and iPadOS 27.3
Apple Releases Third Betas of iOS 27.3 and iPadOS 27.3
2 days ago
Apple Releases Third watchOS 27.3, tvOS 27.3 and visionOS 27.3 Betas
Apple Releases Third watchOS 27.3, tvOS 27.3 and visionOS 27.3 Betas
2 days ago
OpenAI Accuses Apple of Stealing Hardware Secrets and Pressuring Suppliers
OpenAI Accuses Apple of Stealing Hardware Secrets and Pressuring Suppliers
2 days ago
WhatsApp Drops Support for Older iPhones, Warns About Security Vulnerabilities
WhatsApp Drops Support for Older iPhones, Warns About Security Vulnerabilities
2 days ago