Substrate phosphorylation can inhibit proteolysis by trypsin-like enzymes