Live in the US?
Lets keep it simple family just stay calm and cool and say to that officer, "no thank you, I choose to opt out of having my picture taken" and per policy they have to honor that and not ask you questions. If they catch attitude and ask questions, stay calm and repeat the above quote.
Lets stay educated on new technology expected to be in every airport in the US
https://www.tsa.gov/digital-id
Or
https://www.tsa.gov/biometrics-technology