How do you make a working door with door bell?

Well…maybe use a checkpoint by the door?