Man armed with samurai sword barricades himself in home