[CLIENT] prevents win10 from screen locking, always
The new league client STILL has a bug, where it always holds a display media lock, no matter what it is doing, which prevents the computer from screen locking (and sleeping). PLEASE fix this. (see powercfg -requests output below)
As a workaround, one can override the power config requests to stop this, but it must be done every single time the LoL client is patched, which is super annoying. The work around is to enter (in an administrator cmd.exe shell), a line like this.. (but it must match the path in your output)
powercfg -requestsoverride PROCESS "\Device\HarddiskVolume5\Games\League of Legends\RADS\projects\league_client\releases\0.0.0.129\deploy\LeagueClientUx.exe" system
C:\Windows\system32>powercfg -requests DISPLAY: [PROCESS] \Device\HarddiskVolume5\Games\League of Legends\RADS\projects\league_client\releases\0.0.0.129\deploy\LeagueClientUx.exe Playing video
SYSTEM: [DRIVER] Focusrite USB Audio (FocusriteUSB\Audio&Adapter\1&66de801&0&id:0000000012358202) An audio stream is currently in use.
AWAYMODE: None.
EXECUTION: None.
PERFBOOST: None.
ACTIVELOCKSCREEN: None.