Lord is the one that rules over you, whether benevolent or not. To say, "My Lord" is to say, "My Maser" and place yourself in the position of the one ruled by the Lord. IN particular, that is what religious people do with respect to G-d, so the word is used in that context as well.