You'll need to be more specific, since lane sharing always depends on the motherboard and how it has been configured by the manufacturer.
If it matters really depends on you.., for example: if the board has 4x M.2 slots and the use of all 4 slots knocks your graphics card down to 8 lanes, the questions are: 1. do you care about a few % of lost performance and 2. do you even plan to use all 4 M.2 slots?
For some motherboards, it will disable a secondary PCI-E slot, in which case: if you have PCIE expansion cards (e.g. sound card, 10Gb LAN, extra M.2 slots) then that could be a problem.