The White House was locked down Friday afternoon after a uniformed Secret Service officer shot an armed person on a street outside the White House.

A U.S. law enforcement official, who spoke on condition of anonymity, said the person approached the Secret Service officer and drew a weapon, and then the officer opened fire.

One person was shot by law enforcement on West Executive Drive in Washington, D.C. according ABCNews.

District of Columbia Fire and emergency medical spokesman Doug Buchanan says one patient was taken to a hospital in critical condition shortly after 3 p.m.

A D.C. police spokesman said the Secret Service was investigating.

The lockdown was lifted around 4 p.m.

President Barack Obama is not on the White House grounds. He is playing golf at Andrews Air Force Base, in Maryland.

>> Related: Suspect in surgery after drawing gun at U.S. Capitol Visitor Center

First Lady Michelle Obama was wrapping up a speech in downtown Washington at midday Friday. Her office would not say where she and the Obama daughters were at the time.

Vice President Biden was on the White House grounds during the incident. He was secured at the complex, according to The Hill.

The White House grounds were shut down to pedestrian traffic, locking staff members and reporters indoors.

The Associated Press contributed to this report.