Add new lock sdk-snippets to docs and update to match the new Lock API