How to lock a browser with a password/passcode on iPhone?
iCab Mobile has had this feature since at least 2012.

iCab » Settings » Account

(iCab is, by far, the most feature-rich browser on iOS. I’ve referred to it as “Safari Pro” for many years.)