Added locks inside of ram rather than locking RAM
prevented a cpu from starting another line of execution before the previous one ends