You have 6 chances to enter wrong passcode. If you enter incorrect password six times continuously, your iPhone will be locked with a prompt saying 'iPhone is Disabled, try again in 1 minute'.