Hello,
Go to Start > Settings > Accounts > Sign-in options > Additional Settings. (OR) Require Sign-in.
On the 'If you've been away, when should Windows require you to sign in again?' option, set it to Never.
Also, check the Screensaver settings.
- Search for Screensaver in the Search bar on the taskbar and click Enter.
- Ensure the screen saver is set to (none), clear the 'On resume, display logon screen' check box, and then click Apply and OK.
Let me know if you still need more help.