Will my new iPhone be unlocked?
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 AT&T Next. It will be tied — or locked — to AT&T.
Your iPhone will be unlocked when you:
Choose any carrier and select One-time payment.
Choose any carrier and select Apple iPhone Payments.
Choose any carrier and either join or upgrade with the Apple iPhone Upgrade Program.
Purchase a SIM-free model. This is like any other iPhone, just without a carrier nano-SIM card.
Your iPhone will be locked when you:
Choose AT&T as your carrier and pay with AT&T Next.