How to Turn On or Off Stop Devices when Screen is Off in Windows 10
To save your battery power, Windows 10 can automatically stop devices connected via USB to your laptop or other portable PC. If this power saving feature gives you issues with connected devices like external drives or pointing device, you can turn it off.