Yes. Hiding a photo takes it out of the main grid in Photos. The file stays on the iPhone, and Hidden opens with the same Face ID, Touch ID, or passcode as the phone. Someone who can unlock the phone can open it. So can another device on the same iCloud account, and an app that already has the whole library.
The phone's own lock opens Hidden
Hidden asks for Face ID, Touch ID, or the passcode before it shows the pictures. That check is the one that unlocks the iPhone. There is no second password on the album. Changing the phone passcode is the only way to change this lock, which is covered in how to set a password for hidden photos.
Turning off Show Hidden Album only removes the album from the list. The photos stay on the phone. Anyone who can open Settings on this iPhone can turn the switch back on. The path for opening the album is in how to see hidden photos on iPhone.
The file is still in the iCloud library
If iCloud Photos is on, a photo you hide on this iPhone is hidden on the other devices signed in to the same account. The file stays in that library. Hiding it does not take it out of iCloud.
Who can read that cloud copy depends on which data protection the account uses. With the default, Apple holds the key. That difference is in can Apple see your iCloud photos.
Copies other people already have
If the photo is in an iCloud Shared Photo Library, hiding it hides it for the other people in that library too. They can open it from Hidden on their own devices.
A copy already saved in a Shared Album stays with the people who have that album. Hiding your original does not pull their copy back.
Apps that were allowed to see everything
An app that can see your whole photo library can still open those photos, including ones in Hidden. Locking the Photos app leaves that permission in place. The list is in Settings, under Privacy & Security, then Photos. Those steps are in how to lock photos on iPhone.
A backup of the phone includes them
Hidden items are part of the Photos library, so a backup of that library includes them. Finder on a Mac, or the Apple Devices app on Windows, can save that backup. If you left backup encryption off, the copy on the computer opens without the phone's passcode. An encrypted backup needs the password you set for it. The phone being locked later does not lock a copy that was already made. That is spelled out in can Apple unlock a locked iPhone.
Hiding is a different album from Recently Deleted
Hidden sits next to Recently Deleted. They are different albums, and both ask for the same Face ID, Touch ID, or passcode. Deleting a photo moves it to Recently Deleted, where it stays for 30 days, still in the library, still able to sync. Emptying that album is a separate step, covered in clearing photos before you sell the phone.
What hiding is good for
Hidden keeps a photo out of a casual scroll through the grid. It is the right tool for that. A person who can unlock the phone, a second device on the same account, an app with the whole library, or an old backup is outside what hiding covers. The longer comparison is in why the Hidden album is not a separate vault.
A photo you want out of those paths has to leave the Photos library and sit behind a password of its own. Privately is one app that keeps that album on the iPhone. Hand someone the unlocked phone with the album already open, and the pictures are on the screen in front of them.