How Lincoln view the issue of slavery when the civil war began

How did Lincoln view the issue of slavery when the civil war began? How and way did this view begin to change as the war progressed?