Barricaded man surrenders after 3 hours of negotiations