Ah, my bad. I looked it up and while Android does have an analog to what iOS calls "lockdown", Android uses different terminology for it, since "Lockdown" is, as you said, lock the lockscreen to be password/pin-only (which would still be a reasonable approach before being forced to turn over your phone to somebody since those are things that are harder to be compelled to provide).
Android's version of iOS "Lockdown" is called "Advanced Protection Mode".

I love how photo-based age verification scanning is the worst of both worlds - it destroys your anonymity, but not in a way that makes it easier to run a community where you can ban a person by their digital ID since they can just make a new one with the same face since facial recognition is too crude for that.