translator/lua: Add :(un)lockvar support
lua: Do not check locks when deleting key
lua: Adjust slice indicies computation for :lockvar

Will later be needed for slice :unlet
lua: Do not copy() locks
tests: Test how (deep)copy() preserves locks
tests: Test :lockvar