Please see here for how to register the appearance of the first person. iPhone – How to enable Face ID

Set up another appearance (2nd person)

iPhone settings

Enter passcode

Face ID setup

face scan

Completion of the first Face ID scan

Use Face ID while wearing a mask

Face ID is set up

Second Face ID setting completed