I have 3 monitors and use a free program called "dual monitor tools(slightly misleading name as it works perfectly with more than 2 monitors), and it has a function called "lock cursor onto screen" which helps when certain games doesn't lock the cursor themselves, and it works just fine...