Update to Lock

Manually tested.
`popup: true` is not an option on `Lock`. Remove the option and just set the function as the first param directly