If your Mac is asking for a recovery key when attempting to reset the password, it usually means FileVault encryption is enabled and the recovery key was either generated during setup or linked to your Apple Account.
Before contacting Apple Support directly for help, please give the following a try:
- Try resetting with your Apple Account.
- On the login screen, enter an incorrect password a few times.
- f available, select the option to reset your password using your Apple Account (Apple ID).
- Follow the on-screen prompts.
- If another administrator account exists on the Mac, log in with that account and reset the password for your user account.
- Try using macOS Recovery.
Finally, if the above does not resolve the issue, contact Apple Support directly. Just use the "Support" link on the lower left-hand side of this forum's web page. Note that you may need to provide proof of purchase to get assistance.