Hello, my name is***** to Justanswer! Give me just a few minutes to look up some specifics, I'm working on this now.
What is the model number of the phone?
Ok, and by "locked", is it asking for a password, pin, or is it actually saying it's locked and to contact someone?
Ok, and I'm assuming you've not set a password, correct?
Ok, the only way to get rid of the pin is to reset the phone. Turn it off, hold the volume down and power buttons until the recovery screen comes up. Release the buttons. Press the volume down button to highlight WIPE DATA/FACTORY RESET and press the power button. Use the volume buttons to scroll to YES and press the power button to confirm. When you see the next menu, select REBOOT SYSTEM NOW.
Let me know if you have any trouble.