Does attorney means lawyer? and What does "You have the right to an attorney" mean?
Yes, an attorney is a lawyer who works in a court of law and the whole thing refers to something called the Miranda warning. That's the phrase you hear when you get arrested by the police. And the expression you have the right to an attorney just means that you have the legal right to use the professional service of an attorney to protect yourself in court and if you can't afford one, he or she will be provided for you.