If you hold down a key before the keyboard has been detected by the computer, it will not be recognized.
During startup, If you have this keyboard configuration, the Caps Lock light will blink a final time before the Happy Mac icon appears on the display. Hold down the Shift Key after the keyboard light blinks for the last time, before the Happy Mac icon.
This behavior also affects other keys held down during startup, including: