documentation for activate lock api