Department store group John Lewis' chief customer officer Charlotte Lock has stepped down after three years in the role, she has announced on LinkedIn.