Apple Face recognition directly into the desktop method:
1. Click Settings on the desktop
First find it on the desktop of your phone and click to enter Settings.
2. Click Face ID and Password
Then tap Face ID and Password from your phone's Settings menu.
3. Turn off the iPhone unlock switch
Finally, turn off the switch on the right side of the iPhone to unlock it and use the passcode to unlock it.