Press and hold Shift to keep things constrained to the same aspect ratio (not distort) or to create straight lines. This works when creating selections, creating shapes, or distorting a layer.
You can also hold Shift to create lines in a 45° angle when using the line tool and make straight lines with the brush tool.