What happened with me was I wiped my system partition but I had an unlocked bootloader. I could not get TWRP to boot up or I wasn't able to flash it because of the "FRP Lock", which is also known as Factory Reset Protection so a lot of commands were disabled such as "fastboot -w" to do a factory reset so I thought the worst case scenario. 1.
Huawei Honor 7 Factory Reset. This is not a mobile unlock method. If you know your mobile password, You can use this method. This reset method deletes all your mobile data like photos, apps, and settings, etc. Power On your Huawei mobile. Go to the Settings and System. Next, tap on the Reset option. Afterward, select the Reset Network Settings
LcTXTC8.