You earn rewards without giving anyone custody of your private keys. Your tokens remain under your control throughout the staking process, and only you can authorize withdrawals.
For example... When you connect your wallet to Pye and delegate SOL, Pye never holds your private key—your wallet signs all actions, and you can un-stake or move funds at any time your lockup allows.