I'm using Powertoys to lock a floating window on top of any window. And maybe windows 11, just add this natively. : r/Windows11
The Top Sash of My Double Hung Window Won't Stay Up |Brennan
I-EASYDWW, Window Hinges, Window Stays, Window Braces, Window Stay Lock, Single-Slot Telescopic Stay Rod for Top-Hung Window, Stainless Steel, 1 Pair, 6 Inch - - Amazon.com
Commercial Top Sash Lock 269-048 - Window Repair Parts
Window Locks,4 Sets Sliding Window Locks With Key for Vertical & Horizontal Sliding Windows Doors,Easv to Install,Adjustable Security Window Lock for Patio Bedroom Home and Office (Black) - - Amazon.com
Gray Wood Tip Collection and Donation Box with Window Panel, Top Slot, – MyGift
How to keep a window Always On Top in Windows 11/10
Limiter Lock Window | Safety Limiters Windows | Window Stop Anti Theft Lock - 1-piece - Aliexpress