A restriction says that cash has to be spent in a certain way. An example of a formal restriction of cash is when a bank lends money and says that the borrower has to maintain a minimum cash balance.
An example of an informal restriction on cash is when managers say they are putting money aside for a specific purpose.
Any restrictions on cash need to be disclosed in the notes to the financial statements (example).