The answer is: bonds
When we buy bonds from a company, we entered a formal agreement that we will lend a certain amount of money to the company for a specified period of time. In return, the company would give us back the money that we lend along with additional interests.
One drawback for Margaret is that she would not be able to obtain the revenue from the company that sold the bond before the maturity date is over