How to disable shipping to parcel lockers for certain products?
If you're not using the weight attribute in Shopify, you can assign a weight to selected products (i.e. 1 kg) and then set the weight limit option in the InPost Lockers app to the same weight (i.e. 1 kg). The existence of such a product in your cart will cause the parcel locker delivery option to not appear.