Lock iPhone Apps Behind Face ID or Your Passcode - MacRumors
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
45 months ago
Hopefully Apple will add this as a simple app toggle in Settings at some point.
Score: 29 Votes (Like | Disagree)
45 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
45 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
45 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)
45 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)
45 months ago
Must get my head around shortcuts sometime.....
Score: 15 Votes (Like | Disagree)

Popular Stories

Apple HomeView lineup feature1

Apple Announces 'HomeView' Smart Home Hub

Tuesday October 13, 2026 6:00 am PDT by
Apple today announced the "HomeView," an all-new kind of smart home hub featuring a 7-inch Liquid Retina display and Siri AI. Apple's senior vice president of Worldwide Marketing Greg Joswiak said: Apple HomeView is designed to be shared by everyone in the home yet feel completely personal to each user. It recognizes your face to shift from a household screen to your own experience,...
Apple TV 4K 4th Generation feature4

New Apple TV 4K Announced With A19 Chip, Updated Siri Remote, More

Tuesday October 13, 2026 6:08 am PDT by
Apple today announced the fourth-generation Apple TV 4K, with key features including an A19 chip, Siri AI support, an updated Siri Remote that has Find My support with Precision Finding, built in far-field microphones, support for surround sound with four HomePods in front and rear pairs, and more. The A19 chip in the new Apple TV 4K delivers up to 50% faster CPU performance and up to twice...
iOS 26 Home Feature

RIP, homeOS

Tuesday October 13, 2026 9:39 am PDT by
MacRumors was first to reveal the name "HomeView" last week, after discovering a trademark filing from a secretive shell company that we correctly suspected was linked to Apple. Apple was likely behind a "homeOS" trademark filing as well, but the company ultimately decided to stick with generic "HomeView software" naming, just like it refers to the HomePod's operating system as "HomePod...
Latest Stories
Apple Pre-Orders Kick Off With First Discounts on HomeView and Apple TV 4K
Apple Pre-Orders Kick Off With First Discounts on HomeView and Apple TV 4K
1 hour ago
Developers Question Scope of Potential Apple Antitrust Settlement
Developers Question Scope of Potential Apple Antitrust Settlement
2 hours ago
iPhone Duo Resold for $5,000 on eBay After Selling Out
iPhone Duo Resold for $5,000 on eBay After Selling Out
2 hours ago
Massive Discounts Hit 2026 MacBook Pro With Up to $800 Off
Massive Discounts Hit 2026 MacBook Pro With Up to $800 Off
2 hours ago
iPhone Duo is Sold Out for Christmas as Shipping Estimates Slip to 2027
iPhone Duo is Sold Out for Christmas as Shipping Estimates Slip to 2027
2 hours ago
Didn't Pre-Order an iPhone Duo Yet? Wait Times Are Significant Now
Didn't Pre-Order an iPhone Duo Yet? Wait Times Are Significant Now
3 hours ago
First Apple TV 4K Pre-Order Discount Arrives at Amazon
First Apple TV 4K Pre-Order Discount Arrives at Amazon
3 hours ago
iPhone Duo Pre-Order Deals: The Best Carrier Offers From AT&T and T-Mobile
iPhone Duo Pre-Order Deals: The Best Carrier Offers From AT&T and T-Mobile
4 hours ago
iPhone Duo Now Available to Pre-Order From Apple
iPhone Duo Now Available to Pre-Order From Apple
4 hours ago
iPhone 18 Pro vs. iPhone Duo Buyer's Guide: Which Should You Choose?
iPhone 18 Pro vs. iPhone Duo Buyer's Guide: Which Should You Choose?
6 hours ago
Apple Store Down Ahead of iPhone Duo Pre-Orders
Apple Store Down Ahead of iPhone Duo Pre-Orders
6 hours ago
Oops, Apple's Website Just Hinted at iPad Mini 8
Oops, Apple's Website Just Hinted at iPad Mini 8
15 hours ago
OLED MacBook Pro Won't Get M7 Chips Until Late 2027
OLED MacBook Pro Won't Get M7 Chips Until Late 2027
17 hours ago
Apple Pledged $25 Million to Trump's White House Ballroom
Apple Pledged $25 Million to Trump's White House Ballroom
19 hours ago
Touchscreen MacBook Pro Could Launch on November 6
Touchscreen MacBook Pro Could Launch on November 6
20 hours ago
New Withings Users Must Pay $99/Year for Apple Health Syncing
New Withings Users Must Pay $99/Year for Apple Health Syncing
20 hours ago
Meta and Apple Bring Muse Spark Open AI Model to Mac Studio
Meta and Apple Bring Muse Spark Open AI Model to Mac Studio
22 hours ago
iPad Mini 8: Apple Has Tested Both 60Hz and 120Hz ProMotion Displays
iPad Mini 8: Apple Has Tested Both 60Hz and 120Hz ProMotion Displays
22 hours ago
Apple TV 4K 2022 vs. 2026 Buyer's Guide: All Differences Compared
Apple TV 4K 2022 vs. 2026 Buyer's Guide: All Differences Compared
23 hours ago
Apple CEO John Ternus on Early Foldables: 'Kind of Cheap and Crappy'
Apple CEO John Ternus on Early Foldables: 'Kind of Cheap and Crappy'
1 day ago
Greg Joswiak Says Apple Isn't Focused on Making AI for 'Lunatic Fringe'
Greg Joswiak Says Apple Isn't Focused on Making AI for 'Lunatic Fringe'
1 day ago
Amazon Offers $120 Discount on AirPods Max 2, $50 Off AirPods Pro 3
Amazon Offers $120 Discount on AirPods Max 2, $50 Off AirPods Pro 3
1 day ago
Apple CEO John Ternus Featured on Cover of TIME Magazine: 'New Era'
Apple CEO John Ternus Featured on Cover of TIME Magazine: 'New Era'
1 day ago
Apple Announces Deadline to 'Get Ready' to Pre-Order the iPhone Duo
Apple Announces Deadline to 'Get Ready' to Pre-Order the iPhone Duo
1 day ago
MKBHD is 'Not Convinced' About Apple's New HomeView, Here's Why
MKBHD is 'Not Convinced' About Apple's New HomeView, Here's Why
1 day ago
Apple's Wall-Mounted HomeView Ships Without a Power Adapter
Apple's Wall-Mounted HomeView Ships Without a Power Adapter
1 day ago
Rare Apple-1 With Steve Jobs Letter Sells for $1.15 Million
Rare Apple-1 With Steve Jobs Letter Sells for $1.15 Million
1 day ago
Apple Now Inviting Media to October 28 'Launch Experience'
Apple Now Inviting Media to October 28 'Launch Experience'
1 day ago
iPhone Duo's A20 Pro Chip Benchmarked Ahead of Launch
iPhone Duo's A20 Pro Chip Benchmarked Ahead of Launch
2 days ago
10 HomeView Features You Might Have Missed
10 HomeView Features You Might Have Missed
2 days ago