1. First, turn your smartphone on.
2. Enter a wrong password. Keep doing that until the phone asks you to enter the word "blackberry". Do it.
3. When told to enter a code, enter an incorrect one. This will make your smartphone restart and reboot.
4. Done.