cLock: minor code cleanups (remove unused imports/variables/dead code, explicit usage of default locale)

Change-Id: Ib570f492a5163089542871020eb9db0a19019951