Starting with EMUI 9.1 and Android 9, Huawei introduced:
Several "Huawei Modem Unlocker" tools exist on platforms like that claim to calculate V4 codes. Additionally: Android Apps: Codes Calculator for Huawei Huawei V4 And V5 Unlock Code Calculator Generator By Imei
Absolutely not. Run it only in a sandboxed virtual machine if you are curious. The vast majority of these are malware. Always check file hashes on VirusTotal before execution. Starting with EMUI 9