A married person may loan the other spouse money from the separate estate of the married person and take in security therefor a judgment or mortgage against the property of the other spouse which shall be valid as otherwise provided by law.
23 Pa.C.S. § 4105