If you visit a "free code calculator" website today, here is what happens behind the scenes:
Huawei devices historically used a mathematical algorithm to generate a unique unlock code based on the device’s IMEI (International Mobile Equipment Identity) number. huawei 16 digit unlock code calculator