Yes, you need to adapt the waysystem. Click on the "wayborders" entry and draw a "hole" into your exitsting wayborders where the character shall not be able to walk.
You can do this by pressing Alt when clicking into the existing borders or you can draw a form outside the borders and drag the points where you need them to be.
Adjust the waypoints so the character can find its way around the obstacle.