B&P Code 16600 bans any agreement that restrains anyone from engaging in a lawful business or trade.  While the Court has interpreted the section as strictly forbidding any restraint in the employment context, a different rule–the rule of reason–applies to contracts restraining trade outside the employment context.