As has been all over the news recently, current versions of iOS have an optional feature to auto-erase the device after ten failed password attempts. Which is a great iPhone security feature IMHO.
http://www.macrumors.com/2016/02/17/cook-open-letter-backdoor-fbi-san-bernardino/
Thanks Apple...