Jeff Locke didn't have his best stuff Sunday. He didn't need it to shut down the majors' worst team. Locke allowed three hits over seven innings, Pedro Alvarez homered and the Pittsburgh Pirates won for the eighth time in 10 games, 1-0 over the Houston.