'Unlock android bootloader without OEM unlock on

I have a Google Pixel 4XL that I want to have the bootloader unlocked on to install stuff on it. The OEM Unlocking option is greyed out in the system developer options menu, but I would like to know if there is a way to manually unlock the bootloader with adb and fastboot. When I boot the phone into fastboot mode, I see that the bootloader is locked.



Solution 1:[1]

You can try fastboot oem unlock-go or fastboot flashing unlock to did this. When I tried flashing unlock, it is works

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 mark0392