The Associated Press filed a lawsuit against three White House officials on Friday after the news agency was barred from some of US President Donald Trump’s events.