Complaints over Apple Inc.’s use restrictions and recent software update for the iPhone have erupted in two lawsuits alleging Apple and its carrier partner, AT&T Inc., engaged in illegal monopolistic behavior.

Two separate lawsuits were filed Oct. 5 in San Jose — one in federal court and the other in state court and both seeking class-action status.