In the June Pixel Feature Drop, Google introduced “Locked Folder” within the Google Photos app to Pixel devices. As initially reported by Android Police, the feature is now rolling out non-Google Pixel devices.
Locked Folder is a secure on-device folder where you can store private (yeah, uh huh) pictures and videos and they won’t be uploaded to Google Photos. From here, you can only view whatever you stored, and you won’t be allowed to share, screenshot, or screen record any of the content unless it’s removed back out of the Locked Folder.
Source: Android Police
The feature is accessed by opening Google Photos and tapping on the “Library” tab, then on “Utilities” and scrolling down to “Locked Folder”.
If you’re on a non-Pixel Android phone, you might not see the option right away. Some users have reported a notification letting them know of the feature’s arrival. Even if you are on the latest version of the Google Photos app, it seems that the Locked Folder option will appear after a server-side update seeps through the Google Play Services Framework.
Source