Okay, I can try to help!
For the locked door at the farm, you need to visit the well after the guy runs away from you. Once you get the key from the well, you should be able to get inside!
As for the city, I think you're talking about the two guys who hide from you? If so, then you need to go to the park after they run away from you. There will be a cat that takes the key and runs away, so you'll have to find it two more times before you can get the key from it.
I hope this helps! If you have more questions please feel free to ask!