Go to the ID of the contact whom you want to block, click on its profile then click on the right-side bar of four lines here on the 2nd last option you can find the block option, choose the reason for blocking, and click ok. In this way, you can block your undesired contacts.