Hi Michal!
Happy to read that it will help you Related to your questions:
- Q1. Yes, you will find this criterion in the "Course badges". More information about how to create them: https://docs.moodle.org/en/Using_badges#Adding_a_course_badge
- Q2. Yes, you'll find how to completely hide the resources in https://docs.moodle.org/en/Restrict_access_settings#Hiding_the_conditions
Best wishes!!