Nearly all iPhone models sold on apple.com and at the Apple Store are unlocked. This means they aren’t tied to a single carrier. The exception is when you buy an iPhone with an AT&T Installment Plan. It will be tied — or locked — to AT&T.
Your iPhone will be unlocked when you:
Your iPhone will be locked when you: