microSD-Card encryption

You may read though this post for some general information.
(but there is more to find here).
Which OS do you have in use?

I’m still on Marshmallow, but would assume the according settings should be somewhere in the settings->storage&USB menu.
I guess you already know that re-formatting the SD card is mandatory for this transformation.