The restriction on visits to the cockpit is the same for all US carriers in flight.
It was caused by a rash of hijackings from homesick Cubans some years back.
On the ground, however, visitors are most welcome.
Generally, the best time is prior to departure.
As for jumpseaters, you have to be a pilot for a US carrier.
------------------