Any time you make major system changes, make sure your standard backup is current.
If UEFI, both Windows & Ubuntu/grub reset boot order to have their system as first in UEFI. You have to then change order, if new order is not what you want.
If BIOS, you only have one MBR per device. So you need to use grub to boot Windows. And then you may need Windows repair/recovery flash drive to temporarily restore Windows boot loader, if Windows issues.
Windows turns on fast start up/hibernation with some updates. If Windows is hibernated, then grub will not boot it. You have to directly boot Windows & turn off hibernation.
If BIOS, Windows is known to update partition table and forget to include any logical ext4 partitions, since Windows 7. Partition is still there & you just have to restore entry into partition table.
Also if you change boot mode in Windows it changes partitioning, erasing drive. Normally UEFI is gpt and BIOS is MBR. So installing another system, may change partitioning which erases drive.
With multiple drives or multiple installs, best to only use Something Else.
I prefer to partition in advance with gparted and use Something Else to choose(change) new partition(s). You can partition during install, but does not seem quite as easy to me.