Merge "Add support to lock test method of WmTests by rule"