The political turmoil caused the country's security agencies to lock down the capital of Islamabad.