There are "snap" products that safely release with 15-25 newtons of force, which is the safety recommendation for lanyards. There are also simple release knots that are used in paracord lanyards, but IMO the snap products are better because they're more reliable (especially with different cord material) and more foolproof generally.
https://www.youtube.com/watch?v=J20q2Odf1yg