The man barricaded himself from his dog while he worked out at home.