If the character can learn special skills they can learn that. You will need to change it so that they can't learn special skills, or change the skill type of this one to something they can't learn.
Also how are you doing skill learning? If via a script some of them have some skills set that everyone can learn I the settings and you'll have to disable those too.
sounds like issue is the skill types. i found that when using class change plugins i also had to make every class have their own skill type or this exact thing happens
The thing is you shouldn't EVER use skill types across like that. Not unless you want issues. Also have you checked the script to see if it has that skill set for all classes to learn? Yanfly put a feature like that in their class script last time I checked it, so you need to check your settings in detail.