Federal law lets the president intervene in labor disputes to impose a "cooling off" period for negotiations, though President Biden doesn't plan to use that if there is a port strike.
Orignial Source:
https://www.foxbusiness.com/politics/taft-hartley-act-why-biden-could-use-labor-law-preempt-port-strike