If you're trying to get his key, see the next question.
You will always wake him if you try to open the magical chest.