This is actually a bug in oFono, somehow we missed the fact that
ChangePin with the wrong PIN will decrease the retry counts. The core
needs to be fixed to query the current PIN state and reset the state to
pre-sim if the retry limit is reached.
Can you please let us know if this is already addressed or this will be
addressed in future.
This task is still pending, see the last task in the SIM / SIM File
System section of the TODO list.