automatic pilot

noun

1.
a cognitive state in which you act without self-awareness
2.
a navigational device that automatically keeps ships or planes or spacecraft on a steady course