If you have the chance to change your Windows 10 trackpad gestures you should do that. It's the easiest way to change the back gestures.
I'm on windows 11, and it works very well, the only difference is that you have to use 3 fingers instead of 2.
On win11 you have to go to Settings --> Bluetooth and Devices --> Touchpad --> Advanced gestures --> change the 3 finger swype left and swype right gestures to "forward navigation" and "backward navigation"