Yes, that is it. Please see this discussion: http://moodle.org/mod/forum/discuss.php?d=76627
for more info about locking hidden activities
Custom certificate (plugin)
Problem locking offline activity
This discussion has been locked so you can no longer reply to it.