Why won't closing the lid sleep my MacBook Pro with external monitor attached after upgrading to Lion?
edit: See this as the behaviour has changed: Why won&#39;t closing the lid sleep my MacBook Pro with external monitor attached after upgrading to Lion?

There are two groups of people. Those who wish to have dual displays and have closing the lid go into sleep and people who wish to disable the monitor display, close the lid and use the external monitor as if you had 'docked' with it.

Previously, if you wished to switch from the macbook to an external monitor entirely then you had to perform the following to put the laptop into clamshell mode:


Make sure the computer is plugged in to an outlet using the AC power
adapter.
Connect a USB keyboard and mouse to your computer.
With the computer turned on connect the Apple portable (using the appropriate
Apple adapter if necessary) to the appropriate port on the external
display or projector and turn the display or projector on.
Once your computer's Desktop appears on the external display, close the
computer's lid.
Once the lid is closed, wake the computer up by
either clicking your mouse button or by pressing a key on your
external keyboard.


source: http://support.apple.com/kb/ht3131

So to put the machine in clamshell mode required you to put it to sleep and wake it back up again. As far as user experience goes, that is somewhat jarring.

As you have the other options to put the machine to sleep, it seems very likely that this change will remain.

Right now, there is no way to alter this behaviour.