Lock it (or check it's locked)
- Open Settings and tap Apps, then Photos.
- Turn on Use Face ID (or Use Touch ID / Use Passcode).
Apple says the Recently Deleted and Hidden collections are locked by default; the same switch locks or unlocks both (Apple).
Unlock it
Turn the same switch off. Both albums then open without any check, for anyone holding your unlocked iPhone.
iPhone 7 and older
The lock arrived with iOS 16, announced by Apple in June 2022 (MacRumors). iOS 16 needs an iPhone 8 or later, so an iPhone 7 can't lock these albums. On those models, lock the whole phone with a strong passcode, or keep private photos in a vault app.
Why the lock isn't the end of it
- It accepts your iPhone passcode, so anyone who knows it gets in.
- Recently Deleted empties itself after 30 days.
- Apple's Photos & Privacy page says apps with Full Access can see hidden photos even if the album is locked (Apple).
A lock with its own code
Secret Calculator Vault Photo (Calc+) opens only with a passcode you set in the app, or your biometrics, and looks like a calculator to everyone else.