Secure Folder requires Knox which is a both hardware & software based security and M31 doesn't have that hardware so it can't be provided through software update.
Dear Samsung Member,
Greetings from Samsung Customer Support!
Thank you for sharing your feedback. We welcome your suggestion and we appreciate the time and effort you have spent to share your valuable comments. This will help us to improve our services.
Thank you for writing to Samsung.
Samsung Customer Support