fix(autosave): lock only if not locked already

locking an item kills autosave. so we have to make sure to lock
only for the first time. also autosave must use post and patch later.

SD-660