In the US, the DMCA Section 1201 prohibits circumventing bootloader locks. However, the US Copyright Office grants exemptions for "lawful owner" use (security research). In the EU, unlocking is your right under the "Right to Repair" directive (2024 update).
In most cases, if your device's service menu shows "Bootloader unlock allowed: No" bootloader unlock allowed no to yes
Current status: Unlock allowed: No Reason: OEM unlocking option grayed out in Developer Options. In the US, the DMCA Section 1201 prohibits
: For specific older models, community-developed exploits like Xperable (for XZ1, XZ2, and XZ3 series) claim to bypass the "allowed: no" status to permit unlocking. In the US