What structures would a buyer use for a key man who is NOT an owner? Some sort of earn out or vesting for a slice of equity?

I would like to keep this person as a COO as business is something I am not overly familiar with.