This tool looks a little bit like a trowel. However, it is much finer and thinner to easily fit into door gaps and open closed (however not locked) doors.
As common for other tools of this type, the trowel is placed a few centimeters above the door latch and pulled downward in one movement. The trowel hits the latch and pushes it back.
The door can now be opened.