There is no definitive answer, as it depends on the phone's manufacturer and model. Some phones may require a special code or password to be entered in order to unlock them, while others may simply need to be turned off and then back on again.