Here is a pic of my model 939.
It looks to be in about the same condition as your 940. Not all my H&R's are cherry!
This one is a shooter, not a looker!
As Bill G. said, the 939, and 940, are the same pistol, just different barrels.
Once again, H&R was before thier time, in offering the key lock so long ago!