To clarify a bit, you cannot unlock the bootloader in UT, because you cannot lock the bootloader when running UT. We do not have signed kernels and system image for verified boot, and on some devices the OS image had to be placed on userdata due to size constraints of the system partition.
There is also no adb as UT is not Android, so no "USB Debugging" options.
What exactly is the issue you are having that someone told you that you need to do these things?