Actually, unlocking the bootloader does not even change the bootloader. It just writes a small data block into the hidden "CER" partition.