To enable this feature, head over to Settings -> Security & privacy -> Face recognition, confirm the unlock pattern/password, to enter the…