Android phone blocked after installing

After installing the ccleaner app my phone was blocked after activating the voice assistant which was mandatory. Tried to restart the phone (a Samsung A7) but it does not even accept my sign-in code anymore. What do I have to do to be able to use my phone again? I am quite desperate.................

Ccleaner does not require voice assistant, and has no way to change android security. did you get ccleaner from the play store?

Thanks for your message. I got the app from the play store. I could not get the app working without giving it access to the voice assistant after which the blockage started.