Sterile Cockpit is a critical phase when operating an aircraft. It is an offense and can be prosecuted if the pilot talks about something that is not related to the operation of the flight
Source : Air Crash Investigation, National Geographic Channel