If you happen to be in a position where in you need to restore your BlackBerry Z10 to factory settings and would want to delete all data then jut follow the instructions below:
1. Tap on Settings.
2. Scroll to and touch Security and Privacy.
3. Touch Security Wipe.
4. Touch the blank text box and enter the word blackberry to confirm the wipe.
5. Touch Wipe Data.
6. The phone will shut down then restart itself. This will take several minutes so be patient and make sure you are plugged in or have enough battery life.