If you are a student at school, this is not addressed to you.
Strictly, a force does not do work: whatever applies the force F does work and loses some of its available energy. The specified force always acts in the same direction so it cannot be responsible for the return of the particle from C to A. Some other force must be applied by some other agency to bring this about. This agency does the work on the return leg and whatever applies F has work done on it. "Doing negative work" is an unnecessary oxymoron. A negative calculated value indicates that the force in the calculation is not involved in doing work but that work is being done on whatever applies the force. One possible situation is that a spring is suspended with vertically with a mass m at the lower end. At rest, the mass is at B. The mass m is displaced through h to A and released. F = mg where g N/kg is the strength of the gravitational field. The work done by gravity to reach B is mgh and to reach C is 2mgh. This is the gravitational potential energy lost by the mass-Earth system. Beyond B the extended spring applies an increasing upward force on m and gains energy at the expense of the kinetic energy of the mass until, at C, the motion is reversed. The spring loses elastic potential energy while doing work on the mass. At B, the mass has kinetic energy and is able to do work to compress the spring and to move away from the Earth until point A is reached. Between C and A the force F, the weight of the body, does no work. Instead, the interaction that gives rise to the weight, gravity, has work done on it and gains energy. Between A and B the spring does work and loses energy. Between B and C it has work done on it and gains energy. Between C and B the spring does work and loses energy. Between B and A it has work done on it and gains energy.
Incidentally, I dislike the notion of 'conservative' and 'non-conservative' forces. All interactions conserve energy and there is nothing special about ones involving only kinetic and one or two forms of potential energy. I would rather express the question in terms of situations where only KE and PE were involved and those where other forms of energy were involved. This is slightly more wordy but much more concrete and comprehensible.