Overhead compartments could be locked during flights after passengers put lives at risk