Thats what I just said basically.
You have to train the techniques, and you have to have a competent partner to train them with, that way you can say "Ok, heres the lock. Can you get out?"
If they can, look at how. Continue adjusting the lock until they cannot escape, then figure a few entries or situations where the lock can be used, and drill them in this way. Continue speeding up the drill and adding more resistance until you can apply it on someone who doesnt want it to be applied.