Added TSX wrappings to scheduleQueue lock/unlock functions