This knot will not come undone:
https://www.fieggen.com/shoelace/secureknot.htm
And you can still untie by pulling on one of the ends. Though you have to make sure that while untying, you don't allow the loop to go over the other end of the shoelace.