The ban takes effect Monday at 12:01 a.m., which may help avoid chaos that unfolded at airports nationwide when a similar measure took effect with virtually no notice in 2017.