This tutorial for Easy Digital Downloads will show you how you can hide the purchase links of downloads that belong to specific download categories. The purchase link will be hidden wherever the downloads shortcode is used, and on the single download pages.
Copy and paste the following function (mind the opening PHP tag!) into your child theme’s functions.php or place into a custom plugin. Add your download categories into the array using either the category name, category slug, or category ID.