The part of a lock that prevents a door from opening is usually called a deadbolt deadlatch or latch when a door is required to close and lock automatically this is usually accomplished by using a deadlatch.
How to tie door locks.
For use in combination with a door knob lever lock.
Tying this rope from one doorknob to the other gives the door an anchor.
There are many portable door locks that can be attached to the door to secure it in a few minutes or less.
Installation is similar to other types of locks for doors.
Use a portable door lock.
This will only work if the door you are trying to keep shut opens away from you.
Tie a large knot in the end of a 3 foot long piece of cord and put it over the top of the door and close it polling the cord tight.
Entry can be gained by entering a numeric code on the programmable keypad without the need for a key.
Aluminum door electrically released mortise latch locks.
Tie the other end of the rope to another doorknob in the room.
Addalock link to amazon is by far the most popular portable door.
Provide greater control over access to your home.
Electronic door locks use an electronic keypad instead of a key.
I ll just mention three that are affordable easy to set up and actually effective in keeping unwelcome guests where they belong.
An ideal anchor point is a solid material that is securely anchored down to the ground.
If you are using a hook i use a small karabina tie this to the end of the cord in a place where when hooked to the keyring it pulls the cord tight but not so tight as to not be able to unhook it.
To lock a door without a lock you will have to tie one part of the connecting material to the handle of the door and then tie another part around a solid anchor point.