Here is one part of a lesson on plate tectonics that describes how subduction zones work. This is an example of what happens at most mountain ranges on or near continental coasts, such as the Andes in South America and the Rockies in North America. In these cases, the mountain range does virtually nothing to prevent plate movement.
This page in the same lesson shows types of plate movements:
- divergent plate boundaries. These are typical of mid-ocean ridges (i.e. long underwater mountain ranges). In these cases, the existence of mountains does nothing to stop or reduce the plate movement.
- convergent plate boundaries (note: oceanic-continental boundary shown). These are typical of coastal mountain ranges. In these cases, the existence of mountains also does not stop or reduce plate movement.
Also (but not shown in that lesson) are continental-continental plate boundaries, which created mountain ranges like the Himilayas in Inda/Tibet. You can find an example of these
here. In 10 million years since the Himilayas formed, the India plate is still moving into the Eurasia plate without any sign of stopping or slowing, so it seems, IMO, that the tallest mountain range in the world has done little to act as a "peg" or a "stud".
Back to that lesson,
this page shows a map of the worldwide distribution of earthquakes. If you check this against a map of world mountain ranges, you'll see that earthquakes tend to happen in mountainous areas.