add lock in auto assign processing