For signing in to Windows 10, the login name is the user account name associated with the Microsoft account or work/school account, or with a local account. It does not have to be a real full name; a nickname is fine as long as it meets the account naming rules set when the account is created.
What matters for sign-in is:
- The user account name (which can be a nickname for a local account), or
- The email address of the Microsoft/work/school account (which may show a display name elsewhere, but that display name can be edited separately).
If using a Microsoft personal account, the display name that shows in Windows can be changed under Your info for the Microsoft account and does not have to be a legal full name.
References: