See our Group Management docs, specifically Example 1: Exclude from blocking.
Note that client-based filtering is only possible if your router distributes Pi-hole as local DNS server (as opposed to your router distributing its own IP as local DNS and only using Pi-hole as its upstream).