Lawyers are officers of the Court and can get in trouble for lying. They can be prosecuted criminally for obstructing justice, fraud or committing perjury. Lawyers can also be sued civilly for lying to their clients and will also likely receive some form of punishment/suspension from their governing professional body for lying.