Two teachers of Education Department have been dismissed by the government "in the interest of security of the state".