Hi
If you mean the 4 digit lock code on the sim then try 1234 and 0000. Otherwise you need a puk code from the carrier. It's normally present on the "card" that the sim was part of when you got it.
If you mean that the phone is carrier locked then you need the unlock code from the original carrier.
Roger