Do muscles function as adaptable locomotor springs?

Do muscles function as adaptable locomotor springs?