Activate Android app by pressing thumb on timeout / locked screen for few seconds
There are several shutdown apps on the market, they all needed root. You can combine them with WidgetLocker and put their icons on your lockscreen for quick shutdown.