create a lock instance, no more NPE
trivial import cleanup
create a lock object so no more NPE