The man turned out to be unarmed and did not have access to the weapons, which were locked with a code, Baltimore County police spokeswoman Elise Armacost said. The soldier eventually agreed to come out of the building, Armacost said.