A locked iPhone is tied to a specific carrier and can only be used with that carrier's SIM card. An unlocked iPhone is not tied to any specific carrier, and can be used with any carrier that uses a SIM card.