If you log into Windows with a Microsoft Account, then the password used in Windows will be your Microsoft Account password. You have two options. Or you can switch your login from a Microsoft Account login to a Local account login and create your preferred login password.