What a wonderful idea, armed pilots in the cockpit :-(
But anyway, even with two unarmed pilots in the cockpit, one of the pilots can still crash the plane if he wants to. It won't be quite as clean as a nice long descent straight into a mountain, but if you just unexpectedly yank the controls down and to one side during approach, the other pilot probably won't have time to do anything about it. Especially on an airbus where they can fight over the controls with the override button (the last to press the override button has controls, so controls could go back and forth indefinitely, making recovery impossible).
And then there's always the crash axe or fire extinguisher. Hey, look at that plane over there... wham.
Of course this kind of action would be much more agressive and less likely to be performed by an introvert depressed person. Locking the door and starting a descent is psychologically easier than physically attacking someone or fighting over the controls. But no safety measure can ever be completely fool proof. People with power can do powerful things, not just in airplanes.