I use this AutoHotkey oneliner. WIN+Space pins/unpins the current window.
#SPACE:: Winset, Alwaysontop, , A
(Save to set-always-on-top.ahk, and create a shortcut to the script in %userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup. Optionally add #NoTrayIcon at the top of the script to get rid of the tray icon.)
Yeah AHK can fix a lot of this, but I only really use Windows on my employer's computer and they're very much averse to installing anything to help with QoL issues like this.