Implemented thread lock features

Locked threads now block posts and edits