A service provider uses network lock to ensure that your phone will only work on one network i.e. the one that you bought your phone from. If your phone is locked, then it will refuse to accept a SIM card from another network. Unlocking is the process of removing the service provider lock so that it is possible to use other SIM cards in your phone.