Your iPhone might be locked to your carrier. Unlocking your iPhone means that you can use it with different carriers. To contact your carrier and unlock your iPhone, use these steps.

If you don’t want to switch carriers and your device is locked because you forgot the passcode, then you don’t need to use the steps in this article. Learn how to reset your passcode.

Apple can't unlock your iPhone for use with a different carrier. Only your carrier can unlock your iPhone.