How to Stop Magento Indexer Process

When you run the magento indexing process it involves few updation in your data . While these updating are going on magento automatically creates a Lock . It might be a situation when magento indexing is going on and suddenly you have got any error (If that request stop/timeouts/fails because of a PHP error )(…)