If you want to serve a warrant, walk up to the door with your sidearm holstered, warrant in hand.
If you don’t want to do it this way, find another line of work.
That's the only way it should ever be done.