Generally, there is not a maximum number of code entries, but the exception is made by LG and Blackberry, which accept only 10 attempts. Nevertheless, if you own an LG or Blackberry phone and you are out of entries, please go to a local service and your issue will be solved.