32-bit statically linked release with Visual Studio Build Tools 2022 MSVC v143, Windows 11 SDK 10.0.22621.0. Tested on Windows 10 22H2.
Changed
- Now only closing the lid locks the computer, and screen turning off is ignored. The old behavior can be achieved purely via Windows 10 (and newer) sign-in options. See more details here.
Fixed
- When the program is started when the lid is closed (e.g. when the laptop is docked), the screen won't be locked.