ovverides save method to change is_locked field if need be