Hello.
There are provisions made by Central Board of Education, under which a candidate is allowed to appear for three consecutive sessions if one fails in one subject. So to answer your questions, you can apply for the compartment exam in 2022. For more details you can visit the link given below:-
https://school.careers360.com/boards/cbse/cbse-class-10-date-sheet
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile