The media are not above the law. And anyone can claim to be the media by the way (there is no certification, nor should there be). Someone who gives aid and comfort to the enemy at a time of war should be warned that what they are doing is treason. If they persist, yes, they should be locked up.
DISCLAIMER: Catholic Answers has turned over the archive to Catholic-Questions.org and no longer owns, manages, or moderates the forums. For additional apologetics resources please visit www.catholic.com.