Buckingham Palace is set to close its doors for three years for intense renovation works.