Pilot Zaharie Ahmad Shah planned mass murder because of personal problems, locking his co-pilot out of the cockpit, closing down all communications, depressurising the main cabin and then disabling the aircraft so that it continued flying on auto-pilot until it ran out of fuel.