Unfortunately, some devices are permanently locked:
In those cases, you cannot install custom ROMs or root via traditional methods. bootloader unlock allowed no to yes
If your phone is carrier-branded (e.g., Verizon, AT&T, T-Mobile), OEM Unlocking may be grayed out or missing. In that case: Unfortunately, some devices are permanently locked:
Brands like Motorola and older Huawei devices required users to request a specific unlock code from the manufacturer's website. Entering this code via the Fastboot protocol on a PC would switch the status and unlock the device simultaneously. In those cases, you cannot install custom ROMs