Most Huawei modems use a specific algorithm based on the number. When you insert a SIM card from a different carrier, the device asks for an "Unlock Code" or "NP Code."
Many versions found on file-sharing sites are packaged with viruses or trojans. Brick Risk: Huawei Modem Unlocker V.5.7.7 By Bojs Downlad