Fix an algebraic closed field $k$. Given a finitely generated $k$-algebra $A$ we can considered the ringed space
$$X=(\text{Max}(A),\mathcal{O}_{\text{Max}(A)})$$
where $\text{Max}(A)\subset \text{Spec}(A)$ is the set of maximal ideals of $A$ with the induced topology from $\text{Spec}(A)$ and $\mathcal{O}_{\text{Max}(A)}:=i^{-1}\mathcal{O}_{\text{Spec}(A)}$, this sheaf is easy to compute because $i:\text{Max}(A)\rightarrow \text{Spec}(A)$ is a quasi-homeomorphism, i.e, it induce a bijection between the open subsets. Lets call such a $X$ an *affine algebraic scheme*.

In general an *algebraic scheme* is a ringed space with a finite cover of open subsets where each is locally isomorphic to an affine algebraic scheme.

I want to know if the followings fact is true

Every morphism of ringed spaces over $k$ between algebraic schemes is a morphism of locally ringed spaces over $k$.

I ask this because in this notes (in french) the author works with this category but considering as morphisms the morphisms of ringed spaces instead of the morphisms of locally ringed spaces.

As a remark one can prove that this category (with morphisms as morphisms of locally ringed spaces over $k$) is equivalent to the category of schemes of finite type over $k$ and also the full subcategory of reduced algebraic schemes is equivalent to the category of "abstract algebraic varieties" in the context of classical algebraic geometry. So this construction lies in the middle between the classic and the modern approach to algebraic geometry.