You can check to see if your iPhone is unlocked from a carrier using any of a few different methods.
To unlock your iPhone from its carrier, you'll likely need to contact your carrier directly to cancel your contract.
What does it mean if your iPhone is locked? If your iPhone is carrier-locked, it's only going to work with the cellular provider that locked it. However, if your iPhone isn't locked, you'll be able to ...