No it shouldn't long as your purchase a m.2 ssd drive that follows the speed standards for M.2 sockets you won't have a problem.
https://www.google.com/search?q=M.2+SSD&oq=M.2+SSD&aqs=chrome..69i57j69i60l2&sourceid=chrome&ie=UTF-8#q=M.2+socket+speed&*
No it shouldn't long as your purchase a m.2 ssd drive that follows the speed standards for M.2 sockets you won't have a problem.
https://www.google.com/search?q=M.2+SSD&oq=M.2+SSD&aqs=chrome..69i57j69i60l2&sourceid=chrome&ie=UTF-8#q=M.2+socket+speed&*