Rename transactions variable to Locks