If you are wishing to block any/all store app acquisition, even free apps, this setting is not what you want.
By default, a user can authenticate to the Store using either a work/school account, or their own personal account, and can acquire and install any app. If you want to disallow acquiring/installing Store apps, you can do this a couple of different ways. (we initially did that in our org, but relaxed it later)
How you choose to control the Store experience, depends upon your requirements.
here are some ways: https://learn.microsoft.com/en-us/windows/configuration/stop-employees-from-using-microsoft-store#show-private-store-only-using-group-policy
what we do is block the use of Microsoft accts (consumer accts) - we no longer mind about users getting Store apps