Can a contract curtail freedom of speech?

Can a contract curtail freedom of speech?

This year saw a high profile court case between former Network Ten political editor, Dr van Onselen, and his former employer Network Ten, over a non-disparagement clause that formed part of an agreed employment settlement Deed of Release upon completion of his tenure....