In case of entering the wrong pin your sim card may get locked and PUK code helps to unlock your locked SIM card.