Start it
Press Start Cleaning in Settings → Keyboard Cleaning, or run Clean Keyboard from the search palette. Starting it again while the keyboard is locked changes nothing.
Docktopus for macOS · New
Every key and click held back for 30 seconds, so you can wipe the keyboard and trackpad, then carry on where you were.
Three distinct themes. Light and dark presets. Free to try, one purchase to keep.
Keyboard Cleaning
Start Keyboard Cleaning and every key, shortcut and click is held back for 30 seconds while a countdown shows on every display. Wipe the keys and the trackpad; when the countdown ends, you are back where you were.
Press Start Cleaning in Settings → Keyboard Cleaning, or run Clean Keyboard from the search palette. Starting it again while the keyboard is locked changes nothing.
Typing, shortcuts such as ⌘Tab, ⌘Space and ⌘Q, the brightness, volume and playback keys, the modifier keys and Docktopus’s own hotkeys all do nothing.
Clicks and scrolling stay on the countdown, so wiping the trackpad opens nothing behind it. Gestures macOS handles itself, such as Mission Control, still work.
The countdown card matches your theme: Liquid Glass, CDE or Windows 95. When it ends, the app you were in still has focus, and a key still held down types nothing until you press it again. Unlock Now, on any display, ends it early.
Accessibility access, to hold keys back from other apps. Without it, Start Cleaning says so and locks nothing.
Touch ID and the power button: macOS doesn’t let any app hold them back. Putting the Mac to sleep unlocks the keyboard. A Terminal window with Secure Keyboard Entry on can still get system shortcuts such as ⌘Tab, but no ordinary keys.