Yes
I can use remote desktop login when I use local account.
But when my local account is enabled with a Microsoft account, the remote desktop will fail to authenticate (regardless of whether I use a local account or a Microsoft account).
But after I log out of the Microsoft account, I can use the remote desktop normally.
Ps: The local account is used when installing the system.