Getting started with emission scheduling and vesting

Hello all,

I need some guidance regarding the design of emission scheduling and vesting for a the supply of a new token living in Solana.

Is there a smart contract that manages when and to who are locked funds released? Is there a “template” code I can use to configure this?