That’s a great way to do it
I generally keep it plugged in and release Power as soon as the screen turns black, then just keep holding up or down until you’re in the desired mode.
Bonus tip: Pressing Vol. Down during the boot animation (that blue dot) will boot you into Safe Mode, really useful if you messed up some Magisk configuration as this will disable all modules.