I think if a thread has been locked for cause (spam, flame war, etc) it should not be viewable at all.
The forum should add a status [Violation Locked] to those threads. I find it bad that the front page of the forums lists 3 locked threads that are filled with code of conduct type violations. I don't think showcasing those threads does this forum any favors.
If you like this idea, +1 idea in the comments.