1) After opening the door, if the door often doesn't close, you can't pile it up in disorder or pile it too high.
2) Don't see the accumulation outside the door and keep it clean.
3) There should be no pool or pool.
If it is unavoidable, then the door must be closed all the time. If you can't keep the children locked up all the time, you must set up a fence.
For your reference
The photos you provided are difficult to understand the place and location, please explain!