The Protagonist can Talk to Codsworth in Sanctuary Hills shortly after emerging from Vault 111

"Talk" is an action in Fallout 4.

Used to initiate a dialog with NPCs.