Thank you for the feedback :) If you are only being pressed against the walls by enemies, you can kill them with a trap.
Unfortunately I don't know in which trap you got stuck, but there is a trap in which you cannot move for a few seconds (The green one). There are also traps with a similar effect, e.g. the oil, which changes your direction of movement and the brake, which slows you down