Update web app example to use Lock