Ensure "OEM Unlocking" is enabled in Developer Options before doing anything, or you will be locked out of the device.