I might be reading into this too much here. You mentioned a locking nut. This leads me to believe you have either a floyd rose or kahler trem on the other end. Further guessing, I'm thinking you can't keep your guitar in tune. Now assuming these guesses are all true I have the following advice.
1. If you don't already have patience, develop it or take the guitar to a pro.
2. You need to understand how these trem systems operate
3. You need to balance the string tension and the trem spring tension to be perfect when all strings are in tune.
So what to do?
#1 You're on your own. This is just something you'll have to learn to develop if you want to set up a floating trem.
#2 All these trems operate is basically the same way. Strings tuned to let's say standard 440 A have a constant tension, but the floating trem wants to pull forward under this tension. To compensate all trems have springs in the back of the guitar. These springs also have adjustments. There are screws the can add or remove spring tension.
#3 The trick is to tune up, play, adjust the springs toward the nut ( tighten) if you keep going flat, loosen the springs if you go sharp. You'll have to repeat this over andd over again till you get it just right. SEE #1 PATIENCE
It takes time the more trems you do the faster you can do them, but the first one will take alot of time.
Ok, now tell me I missed the topic entirely :)