InputLock locks the physical keyboard and mouse of a Windows machine with one key combination, and leaves
automation running. A UI test that clicks and types through SendInput, UI Automation or any test framework
carries on exactly as before, while nobody at the desk can use the machine until the combination is pressed
again - so a test suite can run on an unattended machine in an office, where it cannot be left unlocked and
locking Windows would stop the tests.
The screen goes dark with a message of your choice - who to ask, until when - and screenshots taken by your
tests see straight through it. Set a PIN, and it can lock itself when the desk is idle. When you unlock it
tells you what was touched while you were away.
Portable: one small executable, no installer, settings in a file beside it. It never connects to the
network. Windows 10 (2004 or later) and 11, 64-bit. Free, MIT licence.
[Website and manual](https://inputlock.sourceforge.io/)
Features
- Blocks the physical keyboard and mouse; injected input (SendInput, UI Automation) passes untouched
- Screenshots see through the lock screen, so screenshot-based tests keep working
- A lock screen with your own message, logo, colour and font, on every monitor
- Optional PIN, typed into a field that never shows its length; three wrong PINs lock Windows
- Forgot the PIN? Sign in to Windows instead, and InputLock unlocks too
- Locks itself after minutes without anybody at the desk - your tests' input does not count
- Tells whoever touches it that nothing is broken, and reports what was touched when you unlock
- Scriptable: lock, ask whether it is locked, put a status line on screen, lock Windows when a program exits
- Start with Windows, optionally as Administrator so elevated windows are locked too
- Portable single executable, no installer, never connects to the network