After Energy Saver mobileconfig file with Display sleep time as 1 and System Sleep time as 2 successfully, and then when you change the settings in System Preference->Energy Saver manually. The time that was set manually takes effect instead of what MDM has set for MacBook Pro(Intel Chip tried in both Sierra as well as Monterey). Please find the mobileconfig that we tried below.
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadDisplayName</key>
<string>Energy Saver</string>
<key>PayloadIdentifier</key>
<string>com.286E9EC9-588D-4BDC-B90C-F4FBAC58A2F0.com.apple.MCX.24D336A4-FE03-493F-81B6-C4CEB640F58F</string>
<key>PayloadType</key>
<string>com.apple.MCX</string>
<key>PayloadUUID</key>
<string>24D336A4-FE03-493F-81B6-C4CEB640F58F</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>com.apple.EnergySaver.portable.ACPower</key>
<dict>
<key>Disk Sleep Timer</key>
<integer>5</integer>
<key>Display Sleep Timer</key>
<integer>1</integer>
<key>System Sleep Timer</key>
<integer>2</integer>
</dict>
<key>com.apple.EnergySaver.portable.BatteryPower</key>
<dict>
<key>Disk Sleep Timer</key>
<integer>5</integer>
<key>Display Sleep Timer</key>
<integer>1</integer>
<key>System Sleep Timer</key>
<integer>2</integer>
</dict>
</dict>
</array>
<key>PayloadDisplayName</key>
<string>Energy Saver</string>
<key>PayloadIdentifier</key>
<string>A5406D19-83C6-45B2-B6D2-EF9AF9D59EA8</string>
<key>PayloadRemovalDisallowed</key>
<false/>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>803ABA57-F75B-42EB-9849-15D7EAE7B7FA</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>