In APA style, only retrievable sources are listed as References. Since a lecture heard in person is not retrievable by anyone else, do not include it in your References; the same is true for personal communications such as interviews and emails.
If you use a quotation or idea from a class lecture, a conversation, an email, or other form personal communication, do cite it using an in-text citation. Here's an example: