Automatically lock your Windows when a specified USB device is unplugged.
- Copy \libs\libusb-1.0.dll to \Windows\System32\ or to the runtime folder.
- Build in x64 configuration.
Check out the Release tab.
AutoLockUSB will show you a list of connected USB devices and you enter the number for which device you want to monitor. That's it.