It was transmitting a diagnostic code in optical pulses. The system was waiting for a return signal of light to confirm a human was present, not a remote hacker.
Lock and unlock the bootloader | Android Open Source Project
Sometimes, you might get this error even if you don't want to unlock the bootloader. This happens if you are trying to flash a ROM that is not compatible with your current security status.
If the lock belongs to your own user session: