Psychology: Theory When Being Watched

Can anyone tell me the name of the psychological theory that notes people who know they are being watched will often alter their behavior to conform with the expectations of their observers?

I think you are looking for the Hawthorne effect, but it’s been a while since my high school sociology class.