if you forgot the password, then you can unlock it by going to account.microsoft.com and navigating to your devices, lock device and then unlock it using the code you just used
If you need additional help or have more questions or details to share, please join the site so you can reply in this thread. See this
link for instructions on how to join Windows Central.