How do I close a discussion for comments in a course?
How
To manually stop students from posting replies to discussion posts, use the close for comments link. You can also pin discussions to the closed for comments section on the discussion index page.
Note: You can automatically set your post to close for comments on a specific date by creating discussion availability dates.