If they’re pressure-sensitive they won’t work while the lid is closed… so they’d have to be capacitive.
Even a case fully covering the sides could have a bump in the right place, to serve as a target for the user and transmit force to the phone's force sensor.