Update lock sdk snippets