Armed police have arrested a man after a car crashed into security barriers at the House of Parliament.