During the Freddie Gray riots yes, the Orioles played the Chi Sox in a stadium empty of fans. I believe it was deemed unsafe for fans to come downtown to the stadium environs. (one could say that for just about any Os home game LOL. Although I personally have never had any problems).
Before, during and after Baltimore’s professional sports games and other big events, there is massive law enforcement presence. Usually there are no problems in the near vicinity of the event.