If lock fails -> save new version to session, and redirect to form with warning message