Cal. Civil Code 2884. Lien may be created by contract
A lien may be created by contract, to take immediate effect, as security for the performance of obligations not then in existence.