How to set and use passcode on my Nothing phone (1)?

Go to Settings > Security to choose your preferred unlocking method. Note that you need to set a pattern / PIN first in order to use fingerprint or Face Unlock.