Apple doesn't have an official method for individually locking sensitive apps like Photos with a passcode, but there is a workaround that was introduced with the Screen Time feature that first came ...
Touch the "Settings" icon on the iPhone home screen to open the app. Select "General." Choose "Passcode Lock" to view all the passcode settings for your iPhone. If you already have a passcode enabled, ...