If your opponent is hyper-focused on avoiding your leglocks and hitting you with one of their own, you can take advantage of it by baiting them into attacking the wrong leg.
ZombieProof BJJ‘s Kent Peters demonstrates here how to trick your opponent with a “boot” to get them to attack your leg (even while you stay safe). Then, while they’re distracted, you attack their other leg for the submission. Take a look!