Other diseases of the body affect the muscles, such as lupus, thyroid problems and vitamin deficiencies.