On the Semi-inner Product in Locally Convex Spaces