If the name on the PIN screen is wrong, the most direct fix is to change the account Full name that Windows shows on the lock screen.
- Press Windows + R.
- Type netplwiz and press Enter.
- In the user list, select the account being used to sign in.
- Select Properties.
- In Full Name, enter the name that should appear on the lock screen.
- Select Apply > OK.
- Sign out and sign back in, or restart the PC.
Important: do not change the Username field in that window. Changing the username can lock the account out of Windows.
If the PC is using a Microsoft account, the name shown in Windows can also come from the Microsoft account display name. In that case, change the Microsoft account name by selecting Edit name in the Microsoft account settings, then allow up to 24 hours for the change to update everywhere.
If the account is a local account, the account name can also be changed from: Start > type Control Panel > User Accounts > Change your account name.
References:
- How can I change the account name that appears on the Windows lock screen of my ASUS PC - Microsoft Q&A
- how can i change default01 in the Windows opening screen - Microsoft Q&A
- How to change your user account name | Microsoft Support
- How to change your Microsoft account name or address | Microsoft Support