snackbits
HotkeyLock App-Icon~/apps/hotkeylock · macOS app

Lock your keyboard and trackpad – with a shortcut.

Cleaning the keyboard, a video for the kids, the cat on your laptop: press ⌃⌥⌘L and your MacBook ignores every input – no keys, no clicks, no swipes. The same shortcut unlocks it again. Unlike the lock screen, everything stays visible and keeps running.

DownloadmacOS 13+ · Apple Silicon & Intel
Menu bar with the HotkeyLock padlock icon and its open menu “Lock Now (⌃⌥⌘L)”, next to the app icon and the keys ⌃ ⌥ ⌘ L

~/why

One shortcut. Total quiet. Free.

Lock without logging out

The screen stays on, videos and music keep playing – only the keyboard and trackpad stop responding until you press the shortcut again.

With a safety net

Forgot the shortcut? HotkeyLock unlocks by itself after 30 minutes (adjustable). And quitting the app gives you every input back at once.

Free & no cloud

No account, no ads, no data. Your input stays on your Mac – and the app installs new versions on request.

~/features

What it does

One shortcut for both

⌃⌥⌘L locks, the same shortcut unlocks. While locked, only this shortcut gets through.

Really everything is locked

Keys, clicks, pointer, scrolling and gestures – including the volume, brightness and media keys.

Your own shortcut

Click the shortcut in Settings and press a new combination. It must include ⌘, ⌃ or ⌥ so normal typing never locks.

Auto-unlock

After 1 to 240 minutes, 30 by default. The menu shows when the lock ends.

Emergency exit

Quitting HotkeyLock releases every input immediately – even via SSH with killall HotkeyLock.

A padlock in the menu bar

Open or closed: the icon shows the state at a glance. No Dock icon, no window in the way.

Sound feedback

A short sound when locking and unlocking – can be turned off.

Starts with your Mac

Optionally at login, so the shortcut is always ready.

English & German

HotkeyLock follows your macOS language.

One-click updates

The app tells you about new versions, shows what’s new, and installs them on request. Updates are signed and verified before they are installed; the Accessibility permission is kept.

~/look

How it looks

HotkeyLock menu while locked: “Keyboard & Trackpad: Locked”, “Auto-unlock at” with the time and “Unlock (⌃⌥⌘L)”
Locked: the menu shows when the lock ends
“HotkeyLock Settings” window with the shortcut ⌃⌥⌘L, “Unlock automatically” after 30 min, sound and “Launch at login”
Settings: shortcut, safety net, sound, launch at login

~/requirements

What you need

~/install

Install

HotkeyLock is not notarized by Apple (that would require a paid Apple developer account). macOS therefore blocks the first launch, and since macOS 15 you can only allow it once in System Settings. After that the app starts normally – and it installs updates by itself without asking again.

  1. 01

    Download & open the DMG

    Download HotkeyLock.dmg and double-click it.

  2. 02

    Drag to “Applications”

    Drag HotkeyLock onto the Applications folder in the window.

    DMG window: HotkeyLock being dragged onto the Applications folder
  3. 03

    Open the app – “Done”

    Open HotkeyLock from Applications. macOS says it can’t be opened → click “Done” (not “Move to Trash”).

  4. 04

    “Open Anyway” in System Settings

    Open System Settings › Privacy & Security and scroll all the way down. It says HotkeyLock was blocked → click “Open Anyway”.

    Privacy & Security
    Touch ID & Password
    Users & Groups

    “HotkeyLock.app” was blocked to protect your Mac.

    Open Anyway

    Apple could not verify “HotkeyLock.app” is free of malware that may harm your Mac or compromise your privacy.

  5. 05

    Confirm

    Choose “Open Anyway” once more in the next window and confirm with your password or Touch ID.

    ?

    Open “HotkeyLock.app”?

    Apple is not able to verify that it is free from malware that could harm your Mac or compromise your privacy. Don’t open this unless you are certain it is from a trustworthy source.

    Move to Trash
    Open Anyway
    Done
  6. 06

    Allow Accessibility

    HotkeyLock asks for Accessibility access and opens System Settings › Privacy & Security › Accessibility. Turn HotkeyLock on there – after a few seconds the padlock appears in the menu bar and ⌃⌥⌘L is ready.

For advanced users: via Terminal

Files downloaded in Terminal don’t get a quarantine flag – so steps 03 to 05 aren’t needed; you still have to allow Accessibility once. The command replaces an existing installation; your settings are kept:

curl -fsSL https://snackbits.dev/apps/hotkeylock/app.zip -o /tmp/hotkeylock.zip \
  && rm -rf "/Applications/HotkeyLock.app" \
  && ditto -x -k /tmp/hotkeylock.zip /Applications \
  && rm /tmp/hotkeylock.zip \
  && open "/Applications/HotkeyLock.app"

// app.zip is the same app as in the DMG and is signed for the auto-updates.

Get HotkeyLock

For macOS 13 and later – as a direct download (always the latest version).

DownloadmacOS 13+ · Apple Silicon & Intel · free

Privacy: HotkeyLock only looks at your input to recognize the shortcut and to discard everything else while locked; none of it is stored or sent anywhere. The only connection to snackbits.dev is the update check: shortly after launch and every six hours the app fetches https://snackbits.dev/apps/hotkeylock/version.json. This produces the usual server log data (IP address, time); no content is transmitted.

Note: HotkeyLock is no replacement for the lock screen: anyone holding your Mac can still use the power button. The app is not notarized by Apple, so the System Settings step described above is needed on the very first launch.