Can't a minor be a lawyer after being sentenced to life?

In any of the following circumstances, you can't sign up for the national judicial examination, and if you have gone through the registration procedures, the registration is invalid:

1. Having received criminal punishment for intentional crime;

2. Being expelled from public office by state organs;

3. The lawyer's practice license is revoked;

4. In accordance with the provisions of Article 18 of the Measures for the Implementation of the National Judicial Examination (Trial), he was sentenced to 2 years' imprisonment, and he was not allowed to register for the national judicial examination, and the term was not full; Or sentenced to life and not allowed to register for the national judicial examination.