In both caes you can use a hack by setting os-eol
feature for the qube in dom0.
In first case:
qvm-features win10 os-eol 2024-01-01
In second case:
qvm-features debian-11 os-eol 2026-08-31
Or you can just run the Qubes Update GUI tool from the dom0 terminal and specify the list of templates to update there, e.g.:
qubes-update-gui --targets debian-11,debian-12-xfce,fedora-40-xfce