You can lock yourself out of your iPhone for up to five minutes. If you enter the wrong password too many times, your iPhone will be temporarily locked out.