For more information, see the article specific to your operating system:
If you have tried these suggestions and still cannot sign in, see Microsoft article, Change or reset your Windows password.
See Microsoft's Help for accounts in Windows overview for help with different options to sign in to your Windows device such as Windows Hello or PIN.
Here are some recommended articles related to this topic that might be of interest to you.