Also, on iPhone, if you have face ID turned on, you can hold power+volume down (may differ depending on model) to force a passcode.
This doesn’t work for my iPhone that’s about three years old.
This doesn’t work for my iPhone that’s about three years old.