Yes, that's right.
> Then, why does applying the force on a longer portion of the lever create more torque?
Most of the answers to this question reduce, upon examination, to "that's how we define torque". We define the torque of 100 newtons at a lever distance of one meter as the product of 100 newtons and a meter, which we can call 100 newton-meters, which is equal to 1000 newtons at a lever distance of 0.1 meters.
But that doesn't really answer the question, which becomes, why is torque defined in this way an interesting thing to think about? And the answer is that if the lever is a rigid body free to rotate around a fulcrum, then 100 newtons at one meter in one direction will make it start to rotate, while 1000 newtons at 0.1 meters in the opposite direction will precisely cancel that "moment", as we call it, and there will be no tendency to start rotating. It's about what forces are needed to cancel each other.
Well, but, why should that be? Why does it take exactly 1000 newtons and not, say, 316.2 newtons? And I don't think I have a really good answer for that question. In the case of an elastic solid body it falls out of Hooke's law and the geometry of the situation, which you can reduce to two long, skinny triangles sharing a common side bisected by the fulcrum. But it seems to be much more general than that.
> I had thought it was because there is more mass acting on the point of rotation (longer lever = more mass).
Nope. You can try using a pair of scissors or a folding ladder as a lever, or pull in different directions on the end of a fixed-geometry lever. The lever's mass doesn't change, but the leverage certainly does.
Recall that work is force over distance. The mechanical system relates the input and output distances by a scalar coefficient. Since the working distances are related by a ratio, the working forces are related by the reciprocal of that ratio.
You can find the lever and fulcrum ratio with simple geometry. The input and output lever segments are radii, and the travel is distance along two arcs. Since the arc length is directly proportional to radius, the ratio of lever radii translates directly to the same ratio of arc lengths, and the reciprocal ratio is the force multiplier. Your 10:1 lever sweeps 10:1 arc lengths and balances with 1:10 opposing forces.
Maybe you can derive it from some kind of generalization of Hooke’s Law to cover nonlinear stress–strain relationships, elastic hysteresis, anisotropy, viscoelastic behavior, and so on, but it's not obvious to me what that would be. Also, I feel like the concept of angular moments acting to produce angular acceleration is simpler and more general than all that stuff, but I'm not sure if conservation of energy and geometry alone are sufficient to derive it.
Torque is nothing more than "spinny" force. For example, sometimes you will see the term "generalized force" to mean both force and torque, because it doesn't really matter in some contexts. For example, if I have a robot arm that has some linear joints (like that of a 3D printer) and rotational joints (like that of an arm), you can talk about the generalized forces of each joint. Some of those generalized forces are linear (and people call that "force"), and some of them are rotational (and people call that "torque").
They are exactly analogous to (linear) velocity and _angular_ velocity.
When you talk about force _generating_ a torque, the only thing I can understand is how the linear velocity at a point on a disk (say you blow across its surface) _generates_ an angular velocity.
If you apply the same force using a longer lever then the end of the lever moves further (it follows a bigger circle) so you are applying the same force over a bigger distance.