An object moves with simple harmonic motion (SHM) when its acceleration is proportional to its displacement from the equilibrium position and always points back towards that position. A graph of acceleration against displacement is therefore a straight line through the origin with a negative gradient.
The amplitude is the maximum displacement. The period is the time for one complete oscillation. In SHM the period does not depend on the amplitude. For a mass on a spring it depends only on the mass and the spring constant. For a simple pendulum it depends only on the length and g.
Energy changes between kinetic and potential all the time. With no damping the total stays constant.