The refresh rate is independent per port*. So that should work. Though I'm not sure why (or how) you've set something to 240Hz when no monitor supports that refresh rate.
* There are exceptions, we can safely ignore them for cases with only 2 monitors