Skip to content

Lock your Mac’s keyboard,
mouse, and trackpad

Warden blocks every input device while your screen stays on and your work keeps running — even with the lid closed. Unlock instantly with Touch ID.

$brew install --cask ParthJadhav/warden/warden

7-day free trial · One-time purchase · No subscription

Warden settings window on macOS showing the lock keyboard shortcut, sleep prevention toggle, and screen blur options

When you need to block input on a Mac

AI coding agents

Claude Code or Cursor running a long refactor. One misplaced keystroke can interrupt the session.

Local builds

Xcode compiling a release build. Your toddler hits the keyboard. Hours of progress, gone.

Video renders

Final Cut Pro encoding a 4K timeline overnight. An accidental mouse bump cancels the export.

ML training

Training a model on local GPU. Any input disruption means starting the epoch from scratch.

Coffee breaks

Step away from your desk for five minutes. Nobody can peek at your screen, type on your keyboard, or touch your trackpad.

Shared and open offices

Open office, coworking space, library. One shortcut locks your Mac completely before you leave your seat.

How to lock and unlock your Mac

01

Lock

Press ⌘⇧L or trigger from the menu bar. Every input device locks instantly.

02

Protected

All keyboards, mice, and trackpads are blocked. Every screen is covered.

03

Unlock

Authenticate with Touch ID or your password. Your session resumes exactly where it was.

Input blocking at the macOS event layer.
Not just app-level blocking.

Blocks keyboard, mouse, and trackpad

Intercepts every keystroke and click before any app can see it. No process, no script, nothing gets through.

Unlock with Touch ID

Place your finger to resume instantly. Password works too. Only you can bring your Mac back.

Locks every connected display

All connected displays lock simultaneously. No gaps, no unprotected screens.

Prevents your Mac from sleeping

Keeps your Mac awake while locked, so long-running tasks keep running undisturbed.

No telemetry, works offline

Only connects for license activation and periodic validation. No telemetry, no tracking, and your input never leaves your device.

Warden pricing

$3.99 once. No subscription, no renewal.

Warden

Lock your Mac while AI agents work

$3.99one-time
  • Full input blocking
  • Touch ID unlock
  • Multi-display support
  • Sleep prevention
  • 3 device activations
  • Lifetime updates
Try free for 7 days
$brew install --cask ParthJadhav/warden/warden

Requires macOS 15.2 or later

Mac input locking questions

Warden intercepts all keyboard, mouse, and trackpad input using macOS CGEvent taps. This blocks input before any application can receive it, making it impossible for accidental keystrokes or mouse movements to interfere with running tasks.

You can unlock using Touch ID or your macOS password. Press your configured keyboard shortcut or click the on-screen unlock button to trigger authentication. Only you can unlock your Mac.

Warden is a one-time purchase of $3.99 -- no subscriptions. It comes with a 7-day free trial so you can try it risk-free. You can activate on up to 3 Macs with a single license.

Yes. Warden has an optional sleep prevention feature that keeps your Mac awake while locked, ensuring long-running tasks like AI agent sessions, video renders, and ML training continue uninterrupted.

Yes. Warden locks all connected displays simultaneously with full-screen overlay windows, so there are no unprotected screens.

Warden only connects to the internet for license activation and periodic validation. Once activated, it works fully offline -- the license is verified locally using a cryptographic signature. No telemetry, no tracking, no data collection.

Warden locks all input devices simultaneously -- keyboard, mouse, and trackpad. This prevents any accidental input from interrupting your tasks. You can't selectively lock individual devices.

Yes. Warden is purpose-built for this use case. It blocks all physical input while your AI agent continues working in the terminal or IDE. Your agent session runs uninterrupted, and you unlock with Touch ID when you return.

The macOS screen lock hides everything behind a login window. Warden keeps your screen fully visible so you can monitor builds, renders, and AI agent sessions in real time. It blocks only physical input -- keyboard, mouse, and trackpad -- while your work stays in full view.

Lock your Mac without stopping your work

One-time purchase. 7-day free trial. Requires macOS 15.2 or later.