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.
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.
- Launch the Shortcuts app, tap the Automation tab at the bottom of the screen.
- Tap the + button in the top-right corner, then scroll down the menu of options and choose App.
- On the next screen, tap Choose to select an app from the list of apps, then tap Done.
- Make sure Is Opened and Run Immediately are selected, then tap Next.
- Start typing "Lock Screen" into the text field and select Lock Screen when it appears in the results below.
- You should see your new automation "When [app] is opened, Lock screen" added to the Automations list.
Your personal automation is now complete and should automatically spring into action the next time you open the chosen app.
Tag: Shortcuts
Top Rated Comments
multipasser
15 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
15 months ago
Hopefully Apple will add this as a simple app toggle in Settings at some point.
Score: 29 Votes (Like | Disagree)
klasma
15 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
15 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)
ignatius345
15 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)
smythey
15 months ago
Must get my head around shortcuts sometime.....
Score: 15 Votes (Like | Disagree)
Read All Comments
Popular Stories
iOS 18 Adds These 5 New Features to CarPlay
Thursday June 13, 2024 7:44 am PDT by Joe Rossignol
Apple did not mention CarPlay during its WWDC keynote this week, but iOS 18 includes a handful of new features for the in-car software. Overall, there is not a whole lot new for CarPlay on iOS 18, with changes seemingly limited to the Messages and Settings apps so far. Below, we recap everything new for CarPlay on iOS 18. New for CarPlay on iOS 18 1. Contact Photos in Messages App...
Read Full Article • 68 comments
iOS 18 Adds Pop-Out Bezel Animation When Pressing iPhone Buttons
Tuesday June 11, 2024 10:40 am PDT by Juli Clover
iOS 18 includes a small but interesting change for the buttons on the iPhone, adding more of a visual element when changing volume, activating the Action button, or locking the screen. When you press an iPhone button in iOS 18, the display bezel bulges outward slightly. This feature is available for the volume buttons, Action button and the power button, and it will also likely be used for...
Read Full Article • 103 comments
First Look at Messages via Satellite in iOS 18
Thursday June 13, 2024 11:29 am PDT by Eric Slivka
Apple has been gradually expanding its suite of satellite connectivity features for iPhone, and iOS 18 brings a significant new one in the form of Messages via satellite. The feature allows users to send and receive iMessages and SMS texts, including emoji and Tapbacks, while out of range of cellular and Wi-Fi networks. CNET met up with Apple's senior director of platform product marketing,...
Read Full Article • 111 comments
Here's What's New in Apple Wallet on iOS 18 for Event Tickets and More
Friday June 14, 2024 7:32 am PDT by Joe Rossignol
iOS 18 includes a handful of enhancements to the Wallet app on the iPhone, with new features for Apple Pay, Apple Cash, event tickets, and more. Below, we outline everything new for the Wallet app on iOS 18, based on information from Apple's press release and a WWDC 2024 coding session. Redesigned Event Tickets Event tickets have an all-new design in the Wallet app on iOS 18, complete...
Read Full Article • 19 comments