Hello,
You can use the Set Mouse Cursor Action with the Lock option, but you need the Playmaker GUI prefab in the scene.
You can change the Playmaker Preferences to auto add the Playmaker GUI prefab.
The Control Mouse option should be enabled by default.
Thanks