Harry Potter And The Interdimensional Brick

Harry Potter and the gang come across  PERSONS NAME which has somehow managed to develop previously unknown powers which has enabled him to travel between dimensions but the only problem is that he is a brick. All characters are stuck in a  COUNTRY and cant seem to escape