I believe you acted correctly.
Now the decision of whether or not to go into work would be dependent upon the proximity of the heightened security requirements.
The best preparation is not to be there in the first place rather than trying to get out of something. Especially if you can avoid the situation altogether with foreknowledge.
_________________________
“Always remember the 6 P’s”
(Prior Preparation Prevents [censored] Poor Performance)