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 Conditions records

Opens into the Health app to the Conditions section of your Health Records where you can “connect to your providers to see your health records and get updates when there’s a new entry.”

Get Shortcut »


Get way deeper into Shortcuts – become a member.