First, prepare some soil and some sand and mix them together.
Secondly, add some water and divide it as few times as possible to prevent too much water.
Then stir.
Secondly, add the mixed soil into a sealed box, and the size of the box depends on the size of the insect.
Remember, don't put insects directly on the soil. If possible, you can use a softener. If not, put a shelf on the soil.
Cover it and it's over. Generally, it will be soft in summer 1~2 days, and it will be soft in winter 2~3 days. If you can't catch it, you can check it every day. Generally, the larger joints of insects can move freely, which proves that you can take them out as specimens. If you leave them for a long time, be careful of mildew.
**************************************************************
If you have any questions about this answer, please ask.
I hope the answer will satisfy you. Please feel free to contact me!
Please accept it without doubt. Thank you very much.
***************************************************************