Unlocking the Huawei B311s-220 router typically involves using an IMEI-based unlock code
Most carrier-locked routers block standard web upgrades. You need to force the bootloader into "emergency upgrade mode":
Once your device is detected, use the unlocking tool to flash the firmware file. This process may take a few minutes, depending on your device and computer.