Ragdoll lock after delay

I have rag doll bodies using simulate physics, but I want the bodies to rag doll for a period of time, then lock into position. How could I possibly go about accomplishing this?

i think u can use ‘Reset all bodies simulate physic’ node for that.