You can jailbreak the phone with Redsn0w, and then unlock it by downloading ultrasn0w from cydia. "Technically" it voids your warranty, but as long as you do a DFU restore on it in iTunes before you take it in, and if it has an active AT&T sim card in it, they will service it no problem. I have had mine on T-Mobile forever and got it replaced like 2 months ago for a crack. 🙂