improved deployment object locking