My mom was a teacher in my elementary school, my father was a teacher in my middle school, and, believe it or not, my aunt was a teacher in my highschool. Can confirm I can't misbehave at school at all, but I didn't go wild at college though.
my mom was a teacher at the school I went to from kindergarten to secondary school (it's normal that some schools offer all grades together where I'm from) and I can confirm this. My classmates could get out of doing whatever, while I was always taken to my mom. College was the first time I felt a bit of independence and it was rough.