Orders complete automatically once all the work orders associated with order line items (ORIs) have been completed or canceled (which is also a way of completing an order).
Please refer to the order status page for detailed information on order status transitions.