Go to the profile you want to block, click on the three dots on the top right corner of your screen and click on Block. You can also unblock them anytime you want with the same method.