Does your PI device have IP address in a subnet which is different from your LAN subnet and it's your router which handles routing of traffics between these 2 subnets? If yes then you can block traffics between these 2 subnets and mission achieved.
If your PI is in your LAN subnet then it's hard for you to achieve what you want to do......