I think morse code could be helpful for someone with locked-in syndrome, like Jean Bauby. In 'dictating' his memoir 'The Diving Bell and the Butterfly', it took him an average of two minutes to write each word by blinking at the time when the next letter he wanted was presented to him.
https://en.wikipedia.org/wiki/The_Diving_Bell_and_the_Butter...