Legal analysis: criminal immunity mainly means that the parties can enjoy some special legal rights in the process of criminal proceedings. Criminal immunity is set by the state for the work needs of special people, but everyone is equal before the law, so even those who enjoy criminal immunity can't ignore the law, and criminals still need to accept legal sanctions. For example, the criminal immunity enjoyed by lawyers mainly means that the statements made by lawyers in performing their duties in litigation activities are not accused and investigated.