ControlPlane makes it context-sensitive. You can configure your machine according to what is happening or where you are. When you are at work, set the office printer to default. If you are away, enable the screensaver password.
ControlPlane is a fork MarcoPolo that is currently unsupported.
The software is free but it is donationware. To support development, please consider donating.