This is likely the problem. If you zero at 10 yards, you are going to be off at 50 yards. By definition, 'zero'ing means to adjust your sighting system to hit where you are aiming (at your zero distance). By adjusting your scope at a 10yard range, you are setting it up to, well, hit your target at a 10 yard range.
I zero my scope at a 50 yard range and get the group you see in the picture in my link at 50 yards. If I keep the same setting on my scope and shoot at a 100yard target, aiming the crosshairs at the bullseye, I'm always going to be off target 5-8" depending on ammo. It's simple mechanics and sighting theory.
Also, don't forget that your scope sits a couple of inches above the bore line of your barrel. The closer you get to your target, the more effect this distance above your boreline has on your point of impact. It's most common to zero a .22 at 25yds or 50 yards, not 10yds. At 10 yds, the distance your scope sits above your boreline is going to be an issue. For distance closer or farther than your zero'd distance, you have to adjust your point of aim (POA) to compensate.
If you already know this, I appologize for the basic explanation.