Enemy archers in Demon's Souls will see me and start shooting at me from really far away. Is the range at which I can lock on to them increased by a stat or is there a ring that would increase the lock distance?
No. Lock range never increases. The best you can do is use the Thief Ring so that you can get closer to enemies before they spot you.