lock search