You might want to look up parasomnias.