I hissed at the teacher
That's odd, why would you do that?
I was unhappy with the teacher and wanted to troll them.f
Hissing at your teacher is not socially acceptable way the show that you're upset. If you're upset your teacher you talk with them after class and let them know why you're upset. If you continue to hiss at your teacher most likely other people make fun of you.
I have the free will to do what I want
Yes, you are allowed to do what you want, but you will get better outcomes if you try to conform with societal norms. Hissing is not "normal" behavior, and you will probably not get the desired outcome you're looking for. If your teacher's behavior frustrates you, you should use your words, not sounds.