Your phone provider could refuse to unlock your phone if you haven’t paid your bills or if the phone is stolen. They may also refuse to unlock it if you bought it from a private seller, and the carrier cannot contact the seller. Otherwise, if your account is in good standing and your phone has never been reported stolen, you should have no problems getting your carrier to unlock your phone.