press Windows+I to open the Settings app, and then click “Personalization.”
On the “Personalization” page, switch to the “Lock screen” tab.
And then click the “Screen saver settings” link.
In the end, you’ll come to the “Screen Saver Settings” dialog box, which should look pretty familiar to you. Nothing about it has changed in the last several versions of Windows.
Choose a screen saver from the dropdown, adjust any options via the “Settings” button, set how long Windows should wait before engaging the screen saver, and decide whether it should display the logon screen—and ask for a password—when resuming.