Hi there and welcome
You are referring to the screen lock correct?
And what is the make and model of the phone?
Can you tell me please the model of the HTC?
It would depend on the model.. tell me what you see there please
ok, you will have to reset the phone. This will remove all data from the phone and return it to new, but you cannot avoid this. It is the whole reason for the security, to protect the data.
To do the reset
Once done, you can set up the phone and use it again setting a new pin
Let me know how you go please.
its ok, there is no need, do the instructions I gave you please.
ok, before I asked you if this was for the screen lock and you said yes, but now you say it is for a network lock.
Are you now saying it is not for the screen lock but to unlock it to use on any network?
ok, your phone provider has to unlock it for you, why did they say they could not?
As they are legally now obligated unless your still in contract.