People's Republic of China (PRC) Lawyers Law
Article 29
Lawyers, as legal advisers, should provide advice to clients on relevant legal issues, draft and review legal documents, participate in litigation, mediation or arbitration activities as agents, handle other entrusted legal affairs and safeguard the legitimate rights and interests of clients. Article 37
The personal rights of lawyers in their practice activities are inviolable.
Lawyers' opinions on agency and defense expressed in court are not subject to legal investigation. Except for statements that endanger national security, maliciously slander others, and seriously disrupt court order.
If a lawyer participates in litigation activities and is suspected of committing a crime, the investigation organ shall promptly notify the law firm where he belongs or the lawyers association to which he belongs; If a lawyer is detained or arrested according to law, the investigation organ shall notify the lawyer's family in accordance with the provisions of the Criminal Procedure Law.