Getting into the firmware setup often means hammering Delete or F2 at exactly the right moment, and fast boot makes the window tiny. Linux can ask the firmware to go there for you.
sudo systemctl reboot --firmware-setup
The machine restarts and, on the next start, shows the firmware setup screen. The option sets a one time request, so the start after that is normal again.
I find this handiest for changing the boot order, turning virtualization on, or checking a fan setting on a mini PC whose boot key I never remember.
On a UEFI system with systemd-boot there is also a way to get to the boot menu with --boot-loader-menu= followed by a timeout.
Not every machine supports it. The man page says the function is not available on all systems, and old BIOS boot setups, virtual machines and single board computers are the usual cases where it fails with a message. Nothing happens to your machine in that case.
Do not run this on a server in another building unless you have remote console access. It will sit in the setup screen waiting for a keyboard, and your SSH session will not come back until someone presses a key.
Further reading: systemctl man page