I'm guessing since digits are pretty finite (0 - 9) and people aren't really that random with their PINs, so it's not bulletproof by any means. You really are better off of using actual password to unlock your phone.
This being said, I think 6 digits with the wipe after x wrong guesses is pretty solid for your average bear. Most users' PIN will never get tested and it is enough security so pick pockets can't get into your stuff.