Hi there!
If you've linked your user account with your Apple ID, resetting your login password is a breeze. Just follow these simple steps:
1. Look for the password field and click on the question mark icon right next to it.
2. In case you don't see the question mark, don't worry! Just hold down the power button until your Mac shuts down, then press the power button to restart it.
3. Now, keep an eye out for the arrow icon next to "reset it using your Apple ID." If you can't spot it, check out the Apple Support article titled "If you can't reset your Mac login password."
4. Time to enter your Apple ID and password, and then click "Next."
5. Follow the instructions given to reset your login password.