Microsoft has added a dynamic refresh rate function in Windows 11