It'd be easier to just have the machine lock itself and power down whenever anyone plugged in an unknown HID device. The FBI (and other agencies) use USB mouse jigglers to keep the screensaver from activating while they transport the machine back to their lab.