https://winaero.com/allow-or-prevent-users-or-groups-to-shut-down-windows-10/
Allow or Prevent Users or Groups to Shut Down Windows 10