The default lock/security code is 12345. If you have used another code and can't remember it, you will need to send your phone to warranty service because the phone is in a no-format mode. It actually needs to be unlocked before you can perform the format operation.