I recently asked about the age for preboarding and from the moment your kids can properly walk and dont need carrying, it seems it's not granted anymore.
One thing that friends do often to be able to visit the cockpit, is ask the FA during the flight and then wait until everyone is off the plane after landing.