In the internal view (F1 to switch between external and internal views, and F8 to switch between internal views) there are a list of autopilot functions along the bottom. You can click them to activate them, or use the keyboard shortcuts. L for horizon level, A on some crafts to hold altitude...