A machete-wielding man was shot and killed by police after entering the Champions Center sports facility at the University of Colorado at Boulder campus ... officials confirm.
The situation began around 9:15 AM -- witnesses say two men were involved in an altercation in the parking lot ... with one of the men pulling out a machete.
At one point, the suspect went inside the sports center.
Cops say they confronted the suspect and ordered him to put down his weapon -- but he did not comply ... so police opened fire, killing the man.
People inside the complex -- which houses the football locker room, a weight room and more -- reportedly locked themselves inside various rooms and offices for safety.
No one besides the suspect was harmed during the incident.