If you unlocked the bootloader, you've modified the phone from how it was sold to you. You'll have to read the terms and conditions of your warranty but I'm fairly certain that your warranty is now null and void. The only exception is if you've owned the phone more then one year, in which case your warranty is expired anyway and it wouldn't matter anymore.