It’s not possible to prevent locked-in syndrome. You can take steps to prevent some of the causes of locked-in syndrome. For instance, you can reduce your risk of stroke by eating a balanced diet, quitting cigarettes if you smoke, and limiting alcohol intake.