Back in the days of using Samsung's stock ROM for the Galaxy S2, one can take a screenshot using the combo keys (Home + Power). I find myself locking the screen instead in some of my attempts.
In CM9, there are 2 ways to take a screen capture:
1. In the Power menu (long press Power button), there's an option (pretty obvious).
2. Long press (Vol Down + Power) buttons. Using the first method, it won't be possible to take both screenshots below. Source: here