Tailoring protein nanomechanics through chemical reactivity with single bond resolution