Make sure you gun is cleaned and lubed properly, I also like to apply a light coat of oil around the barrel.
This thread might give you more info about the issue.
New 9mm M&P Shield - slide getting jammed back.
New 9mm M&P Shield - slide getting jammed back.
Sent from my iPhone using Tapatalk