you should first consider how important the name change is for you. it's a very complicated process. even one mistake can result in being locked out of the account, and losing all data contained within that account without any hope of recovering that data.
if you really must change the account name, you need to follow the steps in the below linked article to the letter.
Change the name of your macOS user account and home folder - Apple Support
you may also want to have that article printed out if possible, or maybe have it opened on a different computer.