Guide · Cloak

How to lock apps on iPhone with Shortcuts

Quick answer

To lock apps on iPhone with Shortcuts, create a Personal Automation: When App is Opened, choose the app, run immediately, and add the Lock Screen action. Opening the app locks the iPhone, so you need Face ID or your passcode. On iOS 18 and later, Require Face ID or Cloak is simpler.

Updated 1 min readGambit Studio

Build the automation

  1. Open Shortcuts > Automation > + (New Automation).
  2. Choose App, pick the apps, select Is Opened and Run Immediately.
  3. Add the action Lock Screen and save.

Limits

  • After you unlock, the app is open behind the Lock Screen; reopening it locks again.
  • It locks every time, even for you, unless you add conditions.
  • Anyone with your passcode gets in.

On iOS 18 and later

Use Require Face ID on the icon: it relocks when you quit and hides content from search and notifications (Apple). Cloak (iOS 18.5+) adds a password of its own, groups and 10-minute access.

Sources

  1. Apple: Lock or hide an app on iPhone

Frequently asked questions

What people ask most about this, answered with the source.

Can I lock apps on iOS 17 or 16?
Require Face ID came with iOS 18. On older iOS, a Shortcuts automation with Lock Screen is the usual workaround.
Does the Shortcuts lock use a separate password?
No. It locks the iPhone, which opens with Face ID or your passcode.
Is the Shortcuts trick secure?
It's a deterrent, not a real app lock.
CloakProtect apps · vault · Face ID
Get