Chosen Solution

Is it possible to sim unlock iphones with the sim unlock codes? If so where could I buy these codes? All the places I found are sketchy af.

Well, This seems like a good source. seems to be the only safe looking result. other than that stuff is looking sketchy.

You can typically call/visit the carrier’s website and they will have some policy towards unlocking the device. AT&T Sprint T-Mobile Verizon iPhones from the 4S on up should be unlocked out of the box.