The US Capitol building has been put into a security lockdown amid reports of gunfire near the building, police in Washington, D.C., said.