The ban covering most of America’s coastline comes two weeks before Donald Trump’s inauguration ceremony.