NCBO-1121 update lock for testing index