(p, K)-coloring Problems in Line Graphs