New chain

Hi guys my new chain on my brompton electric works well but now when walking with my bike the power engages on the motor and the wheel spins forward why is this any help pls thanks , my thoughts new chain stiff ?