how to reset phone if i forgot my lockscreen password

i forgot my phone's lock screen pin and unable to unlock it
after reading a lot of questions regarding it i found that we should reset the phone and there is no other option than that .
so how to do it, mine is lumia 520

Question Info

Last updated March 27, 2020 Views 90,588 Applies to:
Log into and use the Find My Phone feature to set a new lock code
  1. Go to and sign to the Microsoft account associated with your phone.
  2. Select "Find My Phone" from  the drop down menu that appears when you click on your name.  Or just go to
  3. Click the "Lock" link
  4. Enter a new 4 digit PIN code and press the Lock button.
Chris Miller @anotherlab
Volunteer Moderator
MS MVP since 2013
Please click "yes" if you found my answer helpful

272 people were helped by this reply


Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.