def METHOD_NAME(self, order_list: listOfOrders):
    data_lock = dataLocks(self.data)
    for order in order_list:
        # try:
        # we allow existing orders to be modified
        log = order.log_with_attributes(self.log)
        log.debug("Required order %s" % str(order))
        instrument_locked = data_lock.is_instrument_locked(order.instrument_code)
        if instrument_locked:
            log.debug("Instrument locked, not submitting")
            continue
        self.submit_order(order)