Yes. Many lawyers provide free initial consultations to determine if the client has a case and for the client to determine if they want to hire the lawyer. Even if you do not end up hiring the lawyer everything you discussed during an initial consultation with a lawyer is confidential. This means the lawyer cannot discuss it with anyone else.