As the coronavirus pandemic raged in New York this spring, the state issued sweeping lockdown orders that shuttered law firm offices and courthouses.