(Beware: abstract algebra: if you have a local homorphism between local commutative rings $f:R \to S$, then you say that $f$ is unramified if the induced map $R/\mathfrak{m} \to S/\mathfrak{m}S$ is a finite separable field extension.
So when you have a morphism of locally ringed spaces $(X, \mathcal{O}_X) \to (Y, \mathcal{O}_Y)$ is ramified at $x \in X$, if the induced map on stalks $\mathcal{O}_{Y,f(x)} \to \mathcal{O}_{X,x}$ is unramified.)
The point is, if you have a holomorphic map between Riemann surfaces, then this induces a map of locally ringed spaces where you take the sheaf of ho…