Please navigate to the Policies tab. You can either create a new policy or choose to edit an already existing one. Navigate to macOS-> Advanced Restrictions-> App Store and enable the ‘Restrict the app installation to admin users’ option. When the option is enabled, the app installation can be done only by users with admin privileges. Associate targets and save the policy.
Kindly use the help link to find more insights into restrictions for macOS devices.