If what you want is the user code, you can reset it to 0000 with setool box.
If you locked your SIM, and you do not have the PUK number, you must talk to your network provider.