Hi. If it is SIM PIN blcked, then you will need to phone your network service provider or carrier's customer care to request your PUK (Pin Unlock Key).
If it is a screen locked issue, then you will most likely have to hard rest the device to clear the lost or forgotten credentials. How you are to perform the reset will largely depend on the brand and model number of your phone.