On my grandfather's ranch, he had those rows of pipes laid in the ground with spaces between them at the road entrance. The cows couldn't walk across them, but your car would do just fine. When he made a back entrance, he just painted white lines instead of the more expensive pipe setup. He'd learned from neighboring ranches that once the cows understand the pipes, they won't walk across the painted lines. And, I don…
A group of monkeys were put in a room with a ladder leading to a banana. When a monkey touches the banana, sprinklers turn on and soak the room. The monkeys quickly learnt to ignore the banana to avoid getting wet, and even physically stopped newly introduced monkeys (who were unaware of the sprinklers) from climbing the ladder.
The entire group was eventually replaced one by one. The replacement group had never seen the consequence of climbing the ladder, but policed eachother as well as any new members from eating the banana.
[1] https://workingoutloud.com/blog/the-five-monkeys-experiment-...