Hi Markos,
Do you mean that you want to prevent students from starting new discussions whilst allowing them to reply to existing discussions? If so, you can achieve this by changing the forum permissions and remove the role of student for the capability mod/forum:startdiscussion. Please see the documentation Permissions for more details.