Yes. Look up the German Wings case, flight 9525.
In short one pilot waited for the other to leave the cockpit, locked the door, and deliberately crashed the plane.
He was so suicidal and distraught (thought he was going blind and thus would lose his job) he was willing to do it.
If you read the full story it’s even sadder.