In a new study, scientists say they’ve cracked the code on how to get a baby to fall asleep using a walk-sit routine.