Imagine the door had some mass and some friction, but the particles were really heavy, so even a few correct openings could create a large energy imbalance.
There’s no apparent relationship to the energy gain per separated particle and the energy used by the door. That makes it hard to prove it’s not generating energy.
That’s what makes it an interesting problem.