I bought a fingerprint reader, and it works great for unlocking my PC, but I’d like to lock it with the same gesture. Is there any way I can make my reader respond to input while Windows is unlocked and somehow find out when input has been registered? For this use case, I don’t need to determine if the finger used is valid for authentication — only whether or not the sensor has been touched. From there, a simple
rundll32.exe user32.dll, LockWorkStation would get me where I want to go.