A PUK code is required if a GSM SIM card was locked after entering the wrong PIN code three times in a row. Entering a wrong PUK code ten times in a row disables the SIM card permanently. Both the PIN and the PUK codes are supplied by the operator, but only the PIN code can be changed by the user.