Sorry to hear you're locked out of your phone. The p.u.k code is a carrier lock that you have to get unlocked from them. If you recently switched cell phone companies contact your previous company and they should be able to unlock for you.
You'll need to contact your previous network provider to unlock your sim card. Most of the time, they have no idea what you're talking about. The easier solution is to buy a new sim card for your carrier.
Hey @useryTRqYRZlW8 ,
If you are just trying to get into the phone without using the locked sim card, you can just remove it and it will stop prompting you for the code. If not then @pika_arty and @ClarenceC1 were right and you have to contact the Service Provider associated with the sim card for the PUK unlock code.
Here's a little more information on PUK Codes.
Hope this helps!