Added a global PID signal lock to lock signals from accessing each other while reading and writing