You can't have it the primary and the notebook secondary.
You can mirror them, have the external the secondary, or have the external be the Only...
Attach it, put the notebook to sleep, close it, and then wake it up with an external mouse or keyboard and the external display will be the only display.