Alleged gunman in custody; schools' lock-down lifted