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

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 -...
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...
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...

Guides

ios 27 icon square sidebar

Our comprehensive guide highlighting every major new addition in iOS 27, plus how-tos that walk you through using the new features.

macos golden gate sidebar square

New features and lesser-known changes to check out if you're upgrading.

ios 27 2 newsletter

Siri AI improvements, Suggestions in Messages, Apple Music rebrand, and more.

iPhone Duo New Features Feature

Apple's iPhone Duo is in customers' hands, and our dedicated how-to series explains the new features worth trying first.

Upcoming

iphone 17 colors sidebar square
Spring 2027

Apple's cheapest flagship model won't get an update until early 2027.

Latest Stories
PSA: Don't Update Google Authenticator on iOS 27 Right Now
PSA: Don't Update Google Authenticator on iOS 27 Right Now
9 hours ago
Google Adding AI Training Opt-Out for Search History
Google Adding AI Training Opt-Out for Search History
10 hours ago
Anthropic Delays Next Claude Model, Wants Rivals to Follow
Anthropic Delays Next Claude Model, Wants Rivals to Follow
12 hours 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
12 hours ago
HomePod Mini 2 Supports Siri AI With Latest Betas
HomePod Mini 2 Supports Siri AI With Latest Betas
13 hours ago
macOS Golden Gate 27.3 Beta 3 Now Available for Developers
macOS Golden Gate 27.3 Beta 3 Now Available for Developers
14 hours 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
14 hours 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
14 hours ago
OpenAI Accuses Apple of Stealing Hardware Secrets and Pressuring Suppliers
OpenAI Accuses Apple of Stealing Hardware Secrets and Pressuring Suppliers
15 hours ago
WhatsApp Drops Support for Older iPhones, Warns About Security Vulnerabilities
WhatsApp Drops Support for Older iPhones, Warns About Security Vulnerabilities
17 hours ago
Best Cyber Monday Accessory Discounts From Amazon, Anker, Sonos, and More
Best Cyber Monday Accessory Discounts From Amazon, Anker, Sonos, and More
19 hours ago
Apple Podcasts Now Has Its Own Year-End Replay
Apple Podcasts Now Has Its Own Year-End Replay
19 hours ago
Apple Music's Most Popular Song in 2026 Revealed
Apple Music's Most Popular Song in 2026 Revealed
19 hours ago
Last Chance Holiday Streaming Deals: Apple TV and Disney+/Hulu Offers End Today
Last Chance Holiday Streaming Deals: Apple TV and Disney+/Hulu Offers End Today
19 hours ago
Apple Music Replay 2026 Now Fully Available
Apple Music Replay 2026 Now Fully Available
20 hours ago
Apple Pay Supporting the Fight Against AIDS This Week
Apple Pay Supporting the Fight Against AIDS This Week
20 hours ago
Apple Watch Ultra 4 Cyber Monday Deal Takes $150 Off Select Models
Apple Watch Ultra 4 Cyber Monday Deal Takes $150 Off Select Models
21 hours ago
Apple Announces News Publisher Deals to Improve Siri AI Answers
Apple Announces News Publisher Deals to Improve Siri AI Answers
21 hours ago
Apple's New (RED) Products Available for Pickup a Day Early
Apple's New (RED) Products Available for Pickup a Day Early
21 hours ago
M4 iPad Air Drops to Best Ever Post-Hike Prices for Cyber Monday
M4 iPad Air Drops to Best Ever Post-Hike Prices for Cyber Monday
22 hours ago
Apple's New (RED) Accessories Require Buying New Devices
Apple's New (RED) Accessories Require Buying New Devices
22 hours ago
Best Apple Cyber Monday Deals: Record Low Prices on AirPods, Macs, and More
Best Apple Cyber Monday Deals: Record Low Prices on AirPods, Macs, and More
13 hours ago
Apple Announces Five New (RED) Products
Apple Announces Five New (RED) Products
22 hours ago
Apple Could Be Forced to Allow Rival App Stores in Yet Another Country
Apple Could Be Forced to Allow Rival App Stores in Yet Another Country
1 day ago
iPod Nano Can Finally Run iOS
iPod Nano Can Finally Run iOS
2 days ago
Apple Gift Card Purchases Over $100 on Amazon Include $15 Credit
Apple Gift Card Purchases Over $100 on Amazon Include $15 Credit
2 days ago
AirPods Max 2 Drop to Record Low $399 Price for Cyber Monday
AirPods Max 2 Drop to Record Low $399 Price for Cyber Monday
2 days ago
Apple Now Aims to Repair Rather Than Replace iPhone Duos With Cracked Screens
Apple Now Aims to Repair Rather Than Replace iPhone Duos With Cracked Screens
3 days ago
Here Are the Best Apple Black Friday Leftover Deals You Can Get Today
Here Are the Best Apple Black Friday Leftover Deals You Can Get Today
3 days ago
HomePod Mini 2 in (RED) Seemingly Spotted Ahead of Announcement
HomePod Mini 2 in (RED) Seemingly Spotted Ahead of Announcement
3 days ago

🔗 Related Apple News & Rumors

Stay updated with the latest Apple ecosystem news and verified rumors