A hardened Linux desktop, rebuilt from scratch, with your Windows apps built in. Free and open source.
[Unit]
Description=Hold back new USB devices while the screen is locked
Documentation=file:///usr/libexec/wildos/wildos-usb-lock
After=usbguard.service dbus.service systemd-logind.service
[Service]
ExecStart=/usr/libexec/wildos/wildos-usb-lock
Restart=on-failure
RestartSec=2
[Install]
WantedBy=multi-user.target