As far as i know, The locked object cannot be update while its been locked. thats why it called 'locked'...
Look at my snippet:
http://www.darkbasicpro.com/apollo/view.php?t=8686&b=1
it immitates locking object to the screen center(only the center).
modify DISTANCE to your needs. I should have rotate the 'locled object' face to the camera when the camera rotates, but i didn't
you didn't describe what you intent to do with those 'other objects'.
if you want to attach them staticly to your gun , you can lock them to the screen too, no matter where their absolute world's coordinates.
if you want them to be dynamicly handled, that snippet could give some help.
I'm working on a new snippet that enable to 'lock object' to a any SCREEN POSITION X() , SCREEN POSITION Y() even beyond the screen limits, so if you get no solution, that will probably solve it.
[solo]