go to a pc browser, log in to your microsoft account and go to the devices tab. Under your device, there should be an option for locking your phone - lock it using a new key and then unlock it using that key
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.