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

Show my Quick Action shortcuts

Use this shortcut to quickly access, organize, and edit your Quick Actions shortcuts set as Services on macOS.

This shortcut uses the Open Folder action, which includes the auto-generated folders Shortcuts creates for features like Quick Action.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more