| CPC G06F 21/32 (2013.01) [G06V 40/174 (2022.01)] | 20 Claims |

|
1. A method for an electronic device, the method comprising:
detecting, from a user interface, initiation of a biometric device unlocking operation from user input received at the user interface;
determining, with one or more sensors of the electronic device, an orientation of the electronic device in three-dimensional space relative to a subject; and
when the orientation of the electronic device in the three-dimensional space relative to the subject meets at least one predefined criterion, precluding the biometric device unlocking operation from completing; and
otherwise, performing the biometric device unlocking operation;
wherein:
the biometric device unlocking operation comprises a facial recognition operation capturing one or more images of the subject; and
the precluding prevents the electronic device from being unlocked when the one or more images depict the subject in a state of sleep.
|