The muscles of a dead person typically contract hours after death due to a breakdown of the sarcoplasmic reticulum, and fails to relax; this is known as rigor mortis. The contraction happens because the sarcoplasmic reticulum stores calcium, which triggers muscle contractions. Relaxation fails to occur because cross-bridges form, but can't release due to lack of ATP formation.