Chests can be made with Carpentry. They are used as storage. You can assign keys to chests. To open/close chests, double click them. To lock/unlock them, drag the correct key from the inventory to the chest. You can also pull them around.