You can post text on Instagram by accessing the "Create Mode" in Instagram stories to create a text-only image.
You can hide incoming messages on your Samsung Galaxy S10 by changing your Notifications preferences, or hide the Messages app with a third-party app.