Not sure what specific type of twisting lock you are looking for but here is a good resource for obtaining models meant for 3D printing.
https://www.thingiverse.com/
Otherwise, if you post a picture or link to the lock I'm sure we can get you a more specific model.