The Testament of Sherlock Holmes Hints

How can I solve the box-opening puzzle?