Gating is part of the growth playbook from ten years ago. It is considered outdated now, where the idea is to demonstrate value first, as you said.
Gating makes your conversion rates look good, as it filters out prospects unlikely to convert, but it also reduces the volume of users who might convert.