Normally it is not polite to go into somebody’s room without knocking, but you can make an exception if the person is dead, or pretending to be dead.