Won't work on all doors but for a hold open, you could do the reverse of trying to open it with a gift/credit card. Place the card over the hole the bolt goes in then close the door.