A handful of Democratic seats are also opening up in competitive districts as lawmakers term out or run for higher offices.