To find out if your PC supports this, select Settings > System > Display. Some PCs can let Windows automatically adjust screen brightness based on the current lighting conditions. (If the slider isn't there, see the Notes section below.)
Select the Network icon on the right side of the taskbar, and then move the Brightness slider to adjust the brightness.