Try these checks in order:
- Make sure desktop icons are visible
- Right-click an empty area of the desktop.
- Select View.
- Make sure Show desktop icons is checked.
- Restore built-in desktop icons if specific ones are missing
- Right-click the desktop and select Personalize.
- Select Themes.
- Select Desktop icon settings under Related settings.
- Check the icons to display, such as This PC or Recycle Bin.
- Select Apply and OK.
- If files and shortcuts moved because the Desktop folder location changed
- Open File Explorer and expand the OneDrive folders.
- Right-click the Desktop folder and select Properties.
- Open the Location tab.
- Select Move.
- Browse to the folder that contains the desktop icons wanted, then select Select Folder and Apply.
- If prompted to move files from the old location to the new one, select Yes.
- Require sign-in when the device wakes
- Go to Start > Settings > Accounts > Sign-in options.
- Under Require sign-in, choose to require sign-in when waking from sleep.
- Configure sleep settings so the screen or PC sleeps after an idle period.
The provided guidance does not include a Windows setting that locks icon positions in place. It does include ways to restore missing icons, correct the Desktop folder location, and make the screen lock automatically.