No, unlocking the bootloader is not necessary to install official OTA (Over-The-Air) updates provided by Xiaomi. You can continue to receive and install updates even with a locked bootloader.