yes
I would like to replace it with another microsoft account
I have done this from time to time. If you are already using a Micosoft account, the quickest and easiest way is to open another Ms account under
"Family and users" - Add someone else to this PC. Use your new MS account as the "someone else". Log off, or reboot, and you will now see another logon choice, on the login screen, bottom left. Log in with that and you can then delete, or alter, your old account.