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 Kukatpally Wallpaper

Apple Just Released Five New Products

Wednesday December 2, 2026 6:12 am PST by
Apple this week released five new (RED) products, which are available online and at Apple Stores in the U.S. and dozens of other countries. The five new products with (RED) editions:AirPods Max 2 ($549) HomePod mini 2 ($149) Apple Watch Series 12 (Titanium) ($699) AirPods Pro 3 with Wrist Strap ($269) AirTag 2 with AirTag FineWoven Key Ring ($59)Apple is now using (RED) branding instead...
macbook proled candy

PROLED MacBook Pro Receives Massive $1,000 Amazon Discount [Update: Gone]

Wednesday December 2, 2026 6:14 am PST by
Apple's MacBook Pro with PROLED XDR is seeing a massive $1,000 discount right now on Amazon, undercutting the Black Friday price by over $700. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we may receive a small payment, which helps us keep the site running. The model in question is the 16-inch PROLED MacBook Pro with 36GB...
Mostly Screen iPhone Purple Feature 2027

iPhone 20 Pro's Redesign May Be Less Radical Than Expected

Wednesday December 2, 2026 5:05 am PST by
Apple's 20th-anniversary iPhone is unlikely to achieve a completely bezel-free design due to manufacturing costs and production challenges, according to a new rumor from South Korea. In a new post on Naver, the leaker and news aggregator known as "yeux1122" shared information attributed to sources at companies in South Korea. The account characterized the display plans as a "compromise with...
Latest Stories
Jon Prosser Pushes for Year-Long Delay in iOS 26 Leaks Case
Jon Prosser Pushes for Year-Long Delay in iOS 26 Leaks Case
4 minutes ago
BBC iPlayer App Gains UHD Streaming Support on Apple TV 4K
BBC iPlayer App Gains UHD Streaming Support on Apple TV 4K
1 hour ago
iPhone 18 Delays Linked to Memory Costs and Ternus Decisions
iPhone 18 Delays Linked to Memory Costs and Ternus Decisions
2 hours ago
WhatsApp Group Chats Now Work With Third-Party App in Europe
WhatsApp Group Chats Now Work With Third-Party App in Europe
3 hours ago
Apple Says More Than 400,000 Apps Now Optimized for iPhone Duo
Apple Says More Than 400,000 Apps Now Optimized for iPhone Duo
10 hours ago
Apple's iPhone Game of the Year Isn't Optimized for iPhone Duo
Apple's iPhone Game of the Year Isn't Optimized for iPhone Duo
13 hours ago
Four New Apple Arcade Games Available Today
Four New Apple Arcade Games Available Today
14 hours ago
YouTube TV Price Climbs Again, Now Nearly $90 a Month
YouTube TV Price Climbs Again, Now Nearly $90 a Month
15 hours ago
Some M5 Macs Have a Studio Display XDR Problem
Some M5 Macs Have a Studio Display XDR Problem
17 hours ago
Cyber Week iPhone Deals: Get an iPhone Duo at No Cost for the Holidays
Cyber Week iPhone Deals: Get an iPhone Duo at No Cost for the Holidays
17 hours ago
Apple's Former Software Design Chief Alan Dye on Why He Joined Meta
Apple's Former Software Design Chief Alan Dye on Why He Joined Meta
19 hours ago
Meta Considers iPhone Rival and Revives Smartwatch Plans
Meta Considers iPhone Rival and Revives Smartwatch Plans
20 hours ago
iPhone 20 Pro Titanium Rumors Grow as Material Orders Rise
iPhone 20 Pro Titanium Rumors Grow as Material Orders Rise
21 hours ago
Apple Announces 'The Morning Show' Season 5 Release Date
Apple Announces 'The Morning Show' Season 5 Release Date
21 hours ago
Apple Pay Promo Offers $25 Gift Card at Gorjana
Apple Pay Promo Offers $25 Gift Card at Gorjana
21 hours ago
Apple Announces 2026 iPhone App of the Year and More
Apple Announces 2026 iPhone App of the Year and More
22 hours ago
M6 MacBook Pro Cyber Week Deal Takes $250 Off Select Models
M6 MacBook Pro Cyber Week Deal Takes $250 Off Select Models
22 hours ago
Apple Music Launches as a Native App in BMW and Mini Vehicles
Apple Music Launches as a Native App in BMW and Mini Vehicles
23 hours ago
Proton Mail's iPhone App Adds Full-Text Search for Encrypted Email
Proton Mail's iPhone App Adds Full-Text Search for Encrypted Email
1 day ago
Apple Backs US Warning Over AI Threat to Encryption
Apple Backs US Warning Over AI Threat to Encryption
1 day ago
Apple's HomeView is Backordered Into February
Apple's HomeView is Backordered Into February
2 days ago
CARROT Weather Adds Almanac for Personal Weather History
CARROT Weather Adds Almanac for Personal Weather History
2 days ago
Instagram Cracking Down on Unlabeled Realistic AI Content
Instagram Cracking Down on Unlabeled Realistic AI Content
2 days ago
Apple Stores Running Short on iPhone Duo Repair Parts
Apple Stores Running Short on iPhone Duo Repair Parts
2 days ago
AirPods Max 2 or Beats 360? Here's Which Apple Headphones to Get
AirPods Max 2 or Beats 360? Here's Which Apple Headphones to Get
2 days ago
Apple Releases 27.2.2 HomeView Software Update
Apple Releases 27.2.2 HomeView Software Update
2 days ago
Apple's FileMaker Pro Gaining Support for AI Coding Agents
Apple's FileMaker Pro Gaining Support for AI Coding Agents
2 days ago
ChatGPT Brings Redesigned App to iPhone Duo, Expands 'Dots' Access
ChatGPT Brings Redesigned App to iPhone Duo, Expands 'Dots' Access
2 days ago
Missed Black Friday? Amazon's MacBook Air Sale Brings Back Big $399 Discount
Missed Black Friday? Amazon's MacBook Air Sale Brings Back Big $399 Discount
2 days ago
Apple Preparing Online Store for AI Agent Integration
Apple Preparing Online Store for AI Agent Integration
2 days ago