Derick, Vector also has another remove method. Did you try that?
Object remove(int index) boolean remove(Object o)
You can remove the same way you removed the rec number object from the map. Moreover, you can only add objects to Vector. I think you are trying to add a primitive type to the Vector in your locking method.
Just curious, why are you using 2 collection classes for your locking design?