How to prevent selection of other objects while in edit mode
Select linked (Ctrl>+L) to select vertices/edges/faces linked in the current object and then press Shift+H to hide the unselected vertices.

Hidden geometry cannot be selected or edited.

When you are done editing press Alt+H to Unhide.

Consider also creating Vertex Groups to simplify the selection/hinding process of different parts of your objects.