Heyo! Try my free plugin here, it has functionality to prevent folder from unfolding when clicking on locked actor.