Here's a step-by-step walkthrough for level 12:
1. Click on the board near the door.
2. Take the axe you receive and use it on the door with the lock.
3. Place the wheel onto the broken cart.
4. Use the axe to chop down the tree in the back—keep hitting it until it falls.
5. Put the trunk into the cart.
6. Click on the cart, and it rolls forward into the door, breaking it open.
Follow those steps in order and you'll clear the level.