The Miami-Dade criminal courthouse was briefly on lockdown Thursday morning because of a possible security breach involving a gun magazine, according to police.

The Code Brown lasted about 10 minutes and was lifted by 10:45 a.m. in the Richard Gerstein Justice Building at 1351 NW 12th St., a Miami-Dade police spokeswoman said.