Some of the icons or names may be a little different, but the basic steps are the same. Note: This method works with the latest MacOS updates, even on Big Sur.
If something goes wrong, you could accidentally lock the account or create other problems that may leave you without access, so prepare accordingly.
Step 3: Log in to Users and Groups to find your user profile.Step 1: Log in to a different administrator account.