How to solve.
Download rom upgrade for your phone.
Rom can be downloaded from official website of HTC.com/uk/
Or from below link.
Now Run Rom upgrade utility, and wait till setup finished.
Done ! you are.
now put non accepted sim card.
enter code as usual. Enjoy !