As stipulated on Paris Tourism's Office official website (than you can visit here):

"As part of the Vigipirate program, security controls are put in place

at the entrance of Parisian museums and monuments.

In case of a large attendance, these controls can create a waiting time which cannot be skipped."