If you're an AT&T customer, you can unlock your phone using a portal on the AT&T website. You'll need to have paid all of your bills first.
When you unlock a phone, it means that you alone own the device and can use it with any cell phone carrier.