If you incorrectly enter your account password at the login window three times, a message appears stating 'If you forgot your password, you can reset it using your Apple ID'. Click the arrow-in-a-circle icon to bring up the 'Reset Password' dialog. Enter your Apple ID and password, then click 'Reset Password' to proceed.