(or fastboot getvar unlocked on newer fastboot) It should return: (bootloader) unlocked: YES or State: unlocked .
This method involves disassembling the phone to access the motherboard. By short-circuiting a specific "test point" to the ground, you can force the device into a low-level "USB COM 1.0" mode to read or reset the bootloader state. How to Unlock Bootloader in HUAWEI P30 Lite phone
Go to Settings > About Phone and tap Build Number seven times. (or fastboot getvar unlocked on newer fastboot) It