In the planewatcher community it's very common to ask if you can talk to the pilots after you land. Apparently they're usually amenable to chat with plane bluffs!
My kid is always wearing some kind of aviation-themed t-shirt or his favorite Boeing hoodie, so that kind of signals we're pretty safe...
I've been fortunate enough to fly first class on many top tier airlines since then but nothing will ever beat the thrill of those early flights being led to the cockpit by a flight attendant, bursting with anticipation, ready to meet the pilots and see where in the world we were flying, through the front window of the plane.
[1] - https://www.boeing.com/boeing100/stories/2016/march/junior-j... [2] - https://www.adventuresinfamilyland.com/blast-from-the-past-b... [3] - http://www.danzfamily.com/archives/2005/02/boac_junior_jet.p...
I was like, could I have my child back please? While she enjoyed herself, I'm not sure she understood what the cockpit was for...
Things are way laxer in other parts of the world.
I suppose i can’t testify to “most”, not having sampled a majority of the world’s airlines, but certainly on major carriers like Aeroflot and smaller regionals they aren’t so uptight.