This question already has an answer here:
Remember how on iChat you could block certain people or just allow certain people? Is there a way to do that on iMessage?
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.