Tip 1, which most people know: To quickly disable Face/TouchID you can squeeze left and right side buttons together (any combo) for two seconds to bring up the power off display. Tip 2, which probably most people don't know: If you aren't holding the phone -- if someone shoves it in your face -- you can close your eyes to prevent FaceID from working and say "Hey Siri, who's phone is this?" Not that it's wise to do th…
That's specific to Apple and I wouldn't be surprised if that got you an obstruction charge in the states. Plus, if you don't produce the password, afterwards, you're now sitting in jail for contempt - even if you may have actually forgotten it.
It's a much safer avenue, legally, to just use a password to unlock the device.