how to lock questions that have answered (Q&A)

If a question has been answered - How can I lock a Question thread? i.e. stop members from replying to it.