Legal term for lying is perjury, if it is committed under oath.
A general legal term for lying is intentional misstatement.
Other legal terms for lying such as deception, deceit, distortion etc. cover, but are not limited to the act of making false statement intentionally. Creation of a misleading evidence or any such acting without words may also be referred to as deception, deceit, distortion, but they do not constitute an intentional misstatement.