Skip to main content

Keyboard Cleaning Lock

Lock your Mac keyboard (and optionally mouse) for safe cleaning with a 5 to 300 second countdown, emergency unlock, and automatic failsafe release.

Free & Open Source System keyboard lock clean keyboard disable keyboard macos
Version 1.0.5 Updated 2026-11-25
Download ZTools to Install Install ZTools, then search for "Keyboard Cleaning Lock" in the Plugin Marketplace

Screenshots

Keyboard Cleaning Lock - Preview 1

Key Features

Lock keyboard input for cleaning with automatic unlock after countdown

clean keyboard / lock keyboard / keyboard lock / disable keyboard

Overview & Usage Guide

Temporarily intercept keyboard input (and optionally mouse input) while wiping your keyboard; automatically restores input when the countdown ends, on emergency unlock, or if communication with the client is lost.

Usage

  • Command: Lock keyboard input for cleaning with automatic unlock after countdown (keywords such as clean keyboard, lock keyboard, keyboard lock, disable keyboard).
  • Choose 15 seconds, 30 seconds, 1 minute, 2 minutes, or 5 minutes and press Enter to start, or press ⌘+Enter to set a custom duration between 5 and 300 seconds. "Locked" is displayed only after the system confirms that input interception is active.
  • Locks the keyboard only by default; switch to "Keyboard & Mouse" on the right side of the search box to also intercept mouse movement, clicks, and scrolling.
  • Press ⌘+U (or Control+U) at any time for emergency unlock; when only the keyboard is locked, you can also click Unlock Now with the mouse. Input also unlocks automatically when the timer expires, when leaving the plugin, when the client quits, or if communication is interrupted.
  • Requires permission for ZTools under System Settings → Privacy & Security → Accessibility. When permission is missing or macOS Secure Input is active, locking fails explicitly rather than falsely reporting locked status.
  • The power button, Touch ID, system-reserved keys, media keys, and certain trackpad gestures are outside the interception scope. Anyone can unlock using the emergency shortcut, so this is not a security screen lock and cannot prevent others from using your Mac.
  • Only counts blocked events during the current lock session; never logs keystrokes or saves usage history.

Platforms & Requirements

  • Supported: macOS only
  • Requires client version 1.1.8.5 or later.

Network & Data

  • Works offline; data stays on your local device.

Frequently Asked Questions (FAQ)

How do I install and launch "Keyboard Cleaning Lock" in ZTools?

Open the Plugin Marketplace inside ZTools Workbench, search for "Keyboard Cleaning Lock", and install it. Then type its name in the launcher bar to open it.

Is "Keyboard Cleaning Lock" free? Which platforms are supported?

Yes, it is free to install with source code published in the ZTools-extensions repository. Supported platforms: macOS.