For MacBook laptops usually not more than five tries are allowed until the device is locked off for a certain time. The limit automatically after which you may have to wait or make use of other unlocking methods applies.