BUG-1381: remove getLock() and deprecated constructor
drwxr-xr-x - code-generator
drwxr-xr-x - model
drwxr-xr-x - yang