Control Panel > System > Hardware tab > Device Manager > double-click on
your keyboard > Power Management tab > check mark 'Allow this device to
bring the computer out of standby'
USB Keyboard, right? Open Device Manager, open the properties on each
USB Root Hub, click the Power tab, and _deselect_ "Allow the computer to
turn off this device to save power".