You can use any of three methods to make the virtual machine “capture” the keyboard and mouse:
Click anywhere inside the virtual machine window.
Select Capture Input in the VM menu.
Press Command+I on your keyboard.
Once the guest OS captures your cursor, you can’t move it outside of the Parallels Desktop window until you release it.
To release the keyboard and mouse to Mac OS X:
The keyboard and the mouse will be released immediately.