code: func (db *Database) LockProtectedEntries() error {
  	manager, err := db.GetStreamManager()
  	if err != nil {
  		return err
  	}
  	manager.LockProtectedGroups(db.Content.Root.Groups)
  	return nil
  }
docs: // LockProtectedEntries goes through the entire database and decrypts
  // any Values in entries with protected=true set.
  // Warning: Do not call this if entries are already locked
  // Warning: Encoding a database calls LockProtectedEntries automatically