Osteomyelitis can sometimes develop into a condition called septic arthritis. This happens if the pus caused by the infection discharges into a joint, rather than coming out through your skin. If untreated, your joint will become infected and damaged, which will limit its movement.
Attribution: BUPA