This tutorial covers creating and using an interface in both blueprints and C++. It also give two use cases with examples on how to implement these interfaces.
https://dev.epicgames.com/community/learning/tutorials/0yK6/unreal-engine-how-to-integrate-interfaces-into-your-project