Hello ,
I’m here to help you in resolving your issue
Open Settings > Personalization > Lock Screen > Screen Saver.
In the Screen Saver Settings window, if you’re using the "Photos" screensaver, you should see Photos listed in the dropdown menu.
Click on Settings next to the "Photos" option.
This will open a file explorer window showing the folder that contains the images used for the screensaver.
If no folder is specified, you will need to select one by browsing your folders.
After trying above steps, please reach out to me if you have any doubts or issues
Help others by sharing your experience! Click “Yes” if this solution worked for you or “No” if it didn’t.