How can I disable the trackpad when my mouse is plugged in on Lion?
Thankfully, you can still disable the trackpad in OS X Lion.

Open System Preferences, click on Universal Access, select Mouse &amp; Trackpad and click on Trackpad Options... at the bottom. Tick the checkbox "Ignore built-in trackpad when mouse or wireless trackpad is present".