Hi AJ,
Could you link the particular tutorials you were following?
Regarding the mouse not leaving the window they probably pressed shift+F1 to allow the mouse to leave the viewport. Depending on the tutorial it could very well be that the project was already prepared for the tutorial.
,