Check the lock in tsch_queue_get_nbr