Lock screen

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

Extra Details

Link to Run Shortcut
shortcuts://run-shortcut?name=Lock%20screen
Link to Open Shortcut
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

Open my Watch Later

Opens the deep link into the Watch Later page of the YouTube website, where I can then watch videos in picture-in-picture. Requires opening in Safari after showing page.

Get Shortcut »

Watch The Morning Show

This Emmy winner is an unapologetically candid drama that looks at the modern workplace through the lens of the people who help wake America up. Pull back the curtain on early morning TV.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more