This Free macOS app will help you clean your keyboard without turning off your computer.
One of the problems with cleaning keyboards is that I can't do it without shutting down my computer or opening Notepad to prevent accidental command presses and work interruptions.
With KeyboardCleanTool, a macOS application developed by Andreas Hegenberg, I don't have to shut down my computer to clean my keyboard safely. It works by blocking all keyboard and TouchBar input, so it doesn't affect other applications.
According to the developer's website, people use it for unique use cases, such as letting their toddlers pretend they're working on a computer or for people with cats.
Check out https://folivora.ai/keyboardcleantool for more information and to download the app.