Australian police said today they had restrained a man as he tried to break into the cockpit of a commercial Qantas flight en route to the Philippines.