Police officer fatally shoots intruder