Add (un)lock ops to netconf testtool