For three exhausting years, Lauren Lockwood tried to get her son Rex to sleep through the night. As an infant, he couldn’t sleep without a blanket over his carrier to drown out the world around him. At age 2, it sometimes took hours for him—and her—to fall asleep, only for him to be jolted awake from night terrors that left him shrieking in panic.