If this is true this has happened before.
I can't remember when but I saw a documentary about a pilot who asked the first officer to get them a coffee. Then he locked the door and crashed the plane.
Turns out he was in a lot of trouble so decided to end it.