To prevent users from locking their Windows 10 computer, follow the steps below to disable the Lock Screen in Windows 10.
There is some dynamic feature for that, I think. If it didn't really go to sleep mode then it won't make you login again unless the dynamic lock feature is triggered. The screensaver settings are kind ...