You can re flash your stock rom via ODIN, have a read around and make sure you are 100% confident in doing so, then when your phone boots back up, you should be able to enter your puk code to unlock your sim.
I cannot stress enough the importance of reading as much as your brain can take in so that you are absolutely confident in what re flashing etc entails.
Good luck and keep the thread posted on your progress
Sent from my SM-N9005 using XDA Premium 4 mobile app
// Nexus 5 (D821) // Liquid // UBER //
Note 3 (SM-N9005) // AOSP ROM of variety // Lean or temasek's Kernel // - Dumped. No more Samsung