add lockresult operator