Hello drd85,
Welcome to Apple Support Communities!
We want to help you regain access to your MacBook Pro again.
It sounds like you're talking about the Screen Time passcode. Use these steps to change it:
"Change a Screen Time passcode
- On your Mac, do one of the following:
- If you’re using Family Sharing: Log in to your Mac user account, then make sure you’re signed in with your Apple ID.
- If you aren’t using Family Sharing: Log in to a family member’s Mac user account.
- Choose Apple menu
> System Settings, then click Screen Time
in the sidebar. (You may need to scroll down.) - If you’re using Family Sharing, click the Family Member pop-up menu on the right, then choose a family member.
- Click Change Passcode, then enter the current four-digit passcode.
- Enter a new four-digit passcode, then enter the new passcode again to verify it.
- Enter your Apple ID and password so you can later reset the Screen Time passcode using your Apple ID."
This Apple Support page has the full details: Set, change, or remove a Screen Time passcode on Mac - Apple Support
We hope this helps to change the Screen Time passcode on your Mac like you want.
Cheers!