Authorities say a man was fatally shot by police after walking into a state office building in Los Angeles with a bag over his hands and ordering the employees to get on the ground.