The Indian Death Lock is an old Catch Wrestling leg lock which can be used to counter the Lockdown. The key to countering the IDL is awareness.
First of all you should never let your opponent create enough space to stand up for the IDL. Having double underhooks will stop it. If your opponent has head & arm control on you then getting a strong overhook will keep them from creating space.
But if they are able to stand up you will get tapped if you don't do anything and just watch him do it. In the video below Brian Yamasaki demonstrates a counter that they came up with to counter the IDL.