Hello there,
Good day. Thank you for the question.
Regarding the SIM PIN, if we change the PIN code then the attempts will reset. You may put the SIM card into a phone and reset the PIN or contact your operator for PUK/PIN Codes.
Please try this and let me know if it helps.
Kind regards.