Save object locked version in session