Here is Trick that how you can unlock your phone. For unlock your HTC phone you have to do factory reset.
HTC Explorer A310e Hard Reset
1.Handset switch off, Remove the battery
3.Press volume down +power on button
4.volume down press factory data reset option
5.click Power On.
Now you have done :-) Enjoy..