A lorry driver has been fined and his vehicle clamped after he was spotted using his phone at the wheel.