Adds locking mechanism to the data to keep it from being overwritten automatically in a fluid situation.