You can use this google sheets addon to encrypt cells: https://workspace.google.com/marketplace/app/cellencrypt/933661203390