Apple Watch can instantly unlock your Mac if you have a Mac from mid-2013 or later with macOS 10.13 or later.
To enable this feature, both your Mac and Apple Watch must be signed in to iCloud with the same Apple Account with two-factor authentication on.
Turn on the Auto Unlock feature by selecting 'Use Apple Watch to unlock apps and your Mac' in System Settings or Security & Privacy.
To unlock your Mac while wearing your watch, wake up your Mac without typing in a password, as long as the Apple Watch is on your wrist, unlocked, and near your Mac.