My understanding of hypnosis is when people do things that without knowing they are doing things / without being conscious they are doing it. Is this accurate?

(My interpretation of it causes me to feel scared of it)