You could either schedule a number of separate meetings and add the relevant students to each meeting. You could also schedule a number of Teams meetings, inviting all students to all the meetings but name the meetings, group A, group B, etc. Then tell the students which group they belong to and then join only that meeting.