Right click the OneDrive icon at the status bar:

Press settings:

Go to office tab and select:

If a SharePoint document does not show auto save on:

Save as the document on the original file