When you unlock a phone, it means that you alone own the device and can use it with any cell phone carrier.
To unlock your iPhone from its carrier, you'll likely need to contact your carrier directly to cancel your contract.