During the early Shuttle program, there was a worry about these events happening due to a software problem, so the decision was made to isolate them from the computer.
Post-Columbia, cables were made that allowed the shuttles to be re-wired to allow these events to occur under the control of the computer, to allow a damaged shuttle to attempt a return without crew, or to dispose of itself safely.
As grisly of a question as this is, are there launch failure scenarios that involve complete loss of crew but successful orbit?
IANARC, but it seems if something goes bad in the launch sequence, it's normally catastrophic.
Explosive decompression. Not sure if shuttle crews wore pressure suits. Happened on a Russian mission once, during reentry. They opened the capsule on landing and everyone was dead.
Decompression can be explosive, but in space you'd only be dropping from 1 atmosphere to 0, which isn't that far to drop. For decompression to truly be explosive, a greater pressure differential is required. In the infamous Byford Dolphin incident, four saturation divers were depressurized from 9 atmospheres down to 1 in an instant, and that was a sufficient pressure differential to explode them.
The Space Shuttle and ISS operate at 14.7 PSI -- normal sea level atmospheric pressure.
Byford Dolphin incident
https://en.wikipedia.org/wiki/Byford_Dolphin#Diving_bell_acc...This is also why all but one post-Columbia mission either went to or was within range of the ISS. The only mission for which this wasn't true was the final repair of the Hubble, and for that they had a second shuttle on stand-by for a potential rescue launch on short notice.