As most have stated, repeatedly entering your pin incorrectly more than 10 times will wipe your phone. May I suggest:
0) Check if you have setup Android Device Manager. (Google it) (google.com -- /android/devicemanager)
If you have set it up, and you see the Lock button (not "setup Lock and...