Lock screen

Uses AppleScript to press ⌘+⌃+Q to Lock the screen.

Extra Details

Run Shortcut deep link
shortcuts://run-shortcut?name=Lock%20screen
Open Shortcut deep link
shortcuts://open-shortcut?name=Lock%20screen
AppleScript code
tell application “Shortcuts Events” run shortcut “Lock screen” end tell

More From This Folder

Show LaunchPad

Activates the key code for F4’s native function, which triggers the LaunchPad feature that shows your app icons like an iOS Home Screen.

Get Shortcut »

More From The Library

Show my Health checklist

Opens the Health app to the Health Checklist page that lets you set up your iPhone to keep an eye on things for you, letting you quickly enable features like Emergency SOS, Medical ID, Crash Detection, Headphone Notifications, and Walking Steadiness Notifications.

Get Shortcut »


Get way deeper into Shortcuts – become a member.