Install UM with UEFI or Legacy mode?

With my computer changing the boot order requires a UEFI password. Once the password is set, I can Disable UEFI Secure Boot (But it works fine with the secure boot on), and change the boot order to boot from DVD Drive and USB Devices first.

For some reason the settings refused to save if i didn’t create a UEFI password.

After installation I go back into UEFI and set the OS Boot Order to boot from Ubuntu first rather than windows first.