You can do this with a user group promotion. Set the criteria in the promotion to the number of warning points you require and add them to a secondary user group which has Post New Thread and Post Replies set to Never. You may also want to prevent post editing too and possibly some other permissions.
Alternatively you could let the user continue to post but moderate all of their posts first. For this you would set in Follow message moderation rules to Never in the new group.