For very new Huawei models (Mate 40/P50 series), network unlock is virtually impossible due to Kirin chipset security. Consider selling the locked phone and buying an unlocked one.
Use a tool like DC Unlocker to check the current lock status and which algorithm version your modem uses. download huawei new algo v4 and v5 unlock code work