Screen.lockcursor, and gui text.

So this question is a two-parter. So the first part is how to make the screen.lockcursor to be false. So in my game I use screen.lockcursor, and when I press ‘p’ to pause I want the cursor to unlock, because when I click it just locks back on. The second part is how to enable a GUItext. When I press O my objectives will show, but to save some time I use a GUItext to display the objectives. at first I want the objectives to say nothing, and when O is pressed the objectives will show. Thank you for the help.

Well to unlock the cursor you set Screen.lockCursor to false;

Screen.lockCursor = false;