I use Lemax - StickyMax. I’ve used Museum Putty too but I found it didn’t work as good as the StickyMax. At least for me it didn’t.
Popular alternatives to
Lemax Sticky Max
Master Lock Door Security Bar, Home Security Door Stopper, Adjustable from 27-1/2 in. to 42 in., Door Security for Sliding Doors and Front Doors, 265EC