Launch any preset script every time you connect your USB device.
With this you can view all the devices which are connected to your computer.
Use a physical USB device to lock your computer instead of a password.