Follow the instructions to reset it using your Apple ID credentials. Use Recovery Mode Shut down your Mac.
After an incorrect password attempt, click the "Reset password" link. how to find the administrator password
Boot into (Hold Command + R on Intel Macs, or hold the Power button on Apple Silicon Macs). In the top menu bar, go to Utilities > Terminal . Type resetpassword and hit Enter. Follow the instructions to reset it using your