Hi Paulina. I think this may depend on your location. Try contacting your local Xiaomi service centers. But in general, unlocking bootloader shouldn't void the warranty as long as you're still using the stock firmware.