Hi, I'm Rodrigo and I will help you.
Unfortunately, there is no full support for the Magic Mouse on Windows, so it doesn't work on Windows as it works on macOS.
There is a third-party application that can make the Magic Mouse behave consistently the way you want, but unfortunately, it is a paid application with a free trial.
https://magicutilities.net/download
Standard Disclaimer: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.