This question Use Only External Display With Macbook asks how to use an external display with a Macbook in clamshell/closed mode with attached peripherals such as external keyboard and mouse.
I would like to know how to use a Macbook (Air or Pro), in its own right (without the use of attached external keyboard and mouse peripherals) that is attached to an external monitor.
On Windows, you can right-click the desktop and select an option to output only to an external display.
In OS X, I believe things to be slightly more complicated, therefore would like to know the precise steps needed to achieve this and indeed once finished with the external display, how to go back and use my Macbook as normal ?