We study optimal dynamic lockdowns against Covid-19 within a commuting network. Our framework combines canonical spatial epidemiology and trade models, and is applied to cities with varying initial viral spread: Seoul, Daegu and NYC-Metro. Spatial lockdowns achieve substantially smaller income losses than uniform lockdowns, and are not easily approximated by simple centrality-based rules. In NYM and Daegu -with large initial shocks- the optimal lockdown restricts inflows to central districts before gradual relaxation, while in Seoul it imposes low temporal but large spatial variation. Actual commuting responses were too weak in central locations in Daegu and NYM, and too strong across Seoul.