Change or reset the password of a macOS user account – Apple Support

You can change the password that you use to log in to your Mac, or reset the password if you don’t remember it.

— Lees op support.apple.com/en-us/HT202860