Some tip that I read on the internet if your child wants to have a look into the cockpit: don't ask before the take-off because at that time the pilots will have a lot of things to do (doing checklists, preparations, ...). On the other hand, after the landing asking to let your child see the cockpit will have a much higher chance of being successful.