Sibran, as long as you apply within the last two weeks of your PGWP expiring, you will be okay. Just make sure you remember to contact to let them know your LMO is already in process.
That being said, the LMO shouldn't take longer than a month (mine came in exactly a month after applying).