They will not be able to find your account by typing your name into the LinkedIn search bar.

Click the button located directly under their profile picture (or introduction card). Select Report/Block from the dropdown list. Click Block [Name] and confirm your choice. How to Close the Remaining Privacy Loopholes

The answer to this question has evolved over time. In the past, when you blocked someone on LinkedIn, they could still see your profile, but with limited information. However, in 2021, LinkedIn has made some changes to its blocking feature.

Blocking someone on LinkedIn is a straightforward process:

2021 (Reflecting LinkedIn’s 2021 privacy algorithms)