The FO did everything right. He was able to keep the crazed captain out of the cockpit and safely land the aircraft. Hope the captain is getting the help he needs. We rarely hear about these kind of events so are not trained for it so have to figure out how to deal with it on our own.