Add Lock for cirtical section in PCD database processing routines as PCD database...