By default the user folder in Windows 10 and 11 will be named with the first 5 characters of your user name or Email Address and unlike previous versions of Windows, changing your user name will not change the name on that folder.
Microsoft strongly advises you do not change the name on that user folder, that can have unforeseen consequences later.
If yo do still want to change the name on that folder, at your own risk, then Shawn Brink provides the steps for Windows 10 and 11 on the link below:
________________________________________________________
Standard Disclaimer: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.