You cannot block emergency calls by law on any phone, but pressing a button shouldn't prompt making an emergency call, however.
Which button is it doing it? Power? Volume? Bixby if you're using a Samsung device? Have you checked your phone's settings in the Accessibility Menu or to see if there are any shortcuts for Emergency calls? Might be set up to do that by pressing the power button a certain number of times, perhaps?