I believe some schools require a certain score on an exit exam to allow for graduation.
I can’t see how else a school could prevent someone from taking the NCLEX as the licensing entity is separate from the schools.
Nevertheless, this is another factor for the OP to consider when looking at programs.