There are other implications to this. If at the point you are viewing the contacts the phone consideres itself unlocked, it would be possible to jailbreak. If you stole someone's phone and they have a password, if something like this can allow the phone to be jailbroken, then they have total access to your phone instead of having to restore.