The App SandBox ate my code...
TokenLock can monitor USB devices or BlueTooth devices. It also has some general settings that you can customize. You will want to be sure to read the General Settings section to learn how TokenLock locks your Mac.