Lock when processing sources