Yes, just attach your keyboard, mouse, monitor etc.
Close the computer and let the sleep light begin breathing. Hit any key on your external keyboard and it should go into clamshell mode with the second monitor as main. Just open the lid and the built-in screen will remain black.