With a custom OS, software integrity cannot be guaranteed, therefore any data on the phone that is stored while the bootloader is unlocked could be vulnerable. Your phone's personal data will be erased upon bootloader unlocking to guard against unwanted access to it.