Modeling slotted connections

How could I model slotted connections in Staad Pro Connect edition?

The connection should release the stiffness in the axial direction for a certain value of the displacement , after exceeding that value, it should be locked.