TMDM-7326: Fixed showing wrong lock status when job object is in offline status