Power Settings and Intune

Using Intune configuration policies to set the power settings will cause the settings to become greyed out. Users will then no longer be able to change it themselves anymore.

To still allow users to change the settings, but have something different from the 5 minutes default, you will need to deploy a script to change the settings. 
I've written a script to do that, simply run this as a Platform Script in Intune
https://github.com/MoebiusZero/Scripts/blob/main/Powershell/PowerSettings.ps1 

Keep in mind, that different Windows Display languages have different names for the settings. My script only supports Dutch, English, German, Polish and Czech.
Other languages will need to be added, you can find the names for them by running a command prompt and use powercfg -q to find the name.