To prevent Windows 11 or 10 from locking itself, first disable Dynamic Lock and the "On Resume, Display Logon Screen" option in screensaver settings. Then, on Windows 11, head into Settings ...
Some results have been hidden because they may be inaccessible to you