Ths is an app for blocking USB-Rubber-Duckies by locking the screen when a keyboard is connected. There are some more features, but that's the main one.
Feedback welcome.
To redeem a promo-code manually:
The app on the Windows Store:
The code:
D9KTW-X2YHQ-XJG4R-DDXDX-HR73Z
(The code is valid for 40 uses. If more are needed, please let us know.)
Direct link to redeem the code: