Residents of a Wiltshire town are being urged to allow extra travel time as temporary traffic lights are set to cause delays.