While this is an offline process, it is not as simple as downloading a calculator and typing in an IMEI. It requires hardware knowledge and carries the risk of permanently bricking the device.
Huawei used at least two major unlock code algorithms: huawei unlock code calculator v3 v4 offline new algo
Many tools (especially free ones) claim: While this is an offline process, it is