Teachers who simply cheat will generally not be dealt with by law, because cheating is not an illegal and criminal act, and teachers will only be morally condemned at most and transferred from their original posts at work. If the teacher's cheating behavior is cohabitation with a third party in the name of husband and wife, or registered marriage with a third party, then the judicial organ can investigate his criminal responsibility according to law, because his behavior constitutes bigamy.
Legal objectivity:
Article 1042 of the Civil Code prohibits arranging, buying and selling marriages and other acts that interfere with the freedom of marriage. It is forbidden to ask for property through marriage. Bigamy is prohibited. Spouses are prohibited from living together with others. Domestic violence is prohibited. Abuse and abandonment between family members are prohibited. Article 258 of the Criminal Law, whoever commits bigamy while having a spouse, or marries someone knowing that they have a spouse, shall be sentenced to fixed-term imprisonment of not more than two years or criminal detention.