Before you get locked out: Set up Apple ID unlock on your Mac.
There are a few ways you can change or reset your Mac user account password that you can try to help get you back in. If you've been using your iPhone or Apple Watch (or Touch ID on MacBook Pro) to unlock your Mac, it's possible that you might forget what your user account password is.
VPN Deals: Lifetime license for $16, monthly plans at $1 & more