Why, specifically, are you trying to disable UEFI or enable legacy mode?
The only two settings that pertain to this will be the enable/disable of the "boot manager" setting, and enable/disable of CSM (Compatibility support module). With CSM disabled it should be in full WHQL UEFI mode, with it enabled it should support both UEFI and legacy devices. Boot manager should, and I say should because I am not 120% certain of this, but it should either force or disallow the Windows UEFI boot manager or enable legacy style boot settings. You may need to play around with these two settings or contact ASRock as I see no other settings, same as you, that relate to UEFI or non-UEFI boot modes.