Thanks for visiting our forum. Teams tag is mainly focused on the general issue of Microsoft Teams troubleshooting. According to your description, your question is not in our support scope. The following is for informational purposes only:
If you use a Microsoft account, you can click I forgot my password at the Windows login screen and follow the steps to reset your password online. You will need to confirm your email address and receive a verification code. You can also reset your password online by visiting the Microsoft Account website on another device.
If you use a local account, you can try to use a password reset disk or USB drive if you have one. You can create one on any USB stick using another Windows PC. To use it, plug it into your locked PC and click Reset password at the login screen. Follow the steps to create a new password. You can learn how to create and use a password reset disk from this article.
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
Hope this helps! Moreover, if the above is not your scenario or I have misunderstood anything, please correct me and provide us with detailed information about the issue including the screenshot so that we can better understand to further assist you.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.