You can access the Locked Folder feature in the Google Photos app through the Utilities section in the Library tab. Before you use the feature, you should know that the data in the Locked Folder will be lost if you uninstall Google Photos. Moreover, data inside the folder won’t be automatically moved to a new device if you switch to a new smartphone or tablet.
Samsung already has a similar feature on its Galaxy smartphones and tablets. The company’s Secure Folder feature lets you protect images, videos, audio, documents, and other files. You can even back up that data to cloud storage or move it to a new device.