Add tsch_queue_is_locked function, skip cell operation whenever the module is locked