I've been doing a rash of replacements of upright Damppchasers recently because people kick the power cords and damage the plugs.
Generally, in churches and classrooms the pianos are set up facing the room and away from the wall. I've been using units with 10' cords so they are at least long enough to sit on the floor. Recently I found this product that is a tough nylon fabric strip bordered with velcro (hook side) it holds tightly to the "Berber" style weave commonly found in churches and schools and it's inexpensive, comes in a few colors. It's positionable so it doesn't hinder movement of the instrument. They are also less likely to roll the piano away without unplugging it because they'll hear the velcro pulling off the carpet.
Looks like a good solution. Does not work with the pile-type carpets often used in homes.
https://www.amazon.com/dp/B096XT6R4C?ref=ppx_yo2ov_dt_b_fed_asin_title&th=1

------------------------------
Steven Rosenthal RPT
Honolulu HI
(808) 521-7129
------------------------------