Chinese money built the expanded Panama Canal locks and dredging. And, at a single phone call from Peking, they will be closed. No declaration of war, just an instant blockade.
Very few super container ships plying the waterways. So not much use of the new locks in Panama. Somebody overestimated the big ship traffic and they are not getting a very good return on their investment.