There are several federal legislation that also prohibit office discrimination, which include termination arising out of membership in a secured course.
Retaliation for performing exercises a lawful right, such as https://jmllaw.com/areas-of-practice/employment-law/wrongful-termination.shtml