But iOS won’t reveal the plaintext password from the keychain to the user (it will only autocomplete forms).
The latest iOS versions have also included a "five clicks on the power button" emergency option, which disables both TouchID and FaceID. It's not perfect, but if you're going into a questionable situation, it's a good way to avoid being coerced into using those to unlock your phone.