Use given below software utility to lock your mouse cusror within defined rectangle / area. Define upto two rectangles to limit the mouse cursor movements. Lock / Unlock Mouse Cursor with a simple key press within defined rectangle or close the Mouse Lock application to unlock mouse cursor and allow the mouse cursor to freely roam on your computer screen. You can even enter whole desktop width and height to limit the mouse cursor movement, which in turn can be helpful in a dual monitor computer setup avoiding mouse cursor movements to the other monitor / display. Free to try download of Mouse Lock utility allows to Lock Mouse Cursor upto 20 times.