Revert "removed index.lock file"

This reverts commit bf1660d5da3d8b7cf69b44b56cc6c5c56d034888.