“If-then” gated protein therapeutics