Added Lock / UnLock output to test.