...
You can also use this in any other blueprint actor by getting player controller reference.
...
Also make sure you these settings in the Project Settings->Input to avoid any problems.
...
These settings will prevent mouse capture when your application starts.