Yeah imagine you have a medical emergency or a fire or something and EMTs/firefighters come in and get caught in your boobytrap. Very not cool thing to do, those people are trying to save your life.
edit: if your concern is actually people coming in while you sleep you can get very effective barricades/reinforcements for doors and windows that can buy a lot of prep time.
Then you have to run a restaurant which are notoriously low-margin anyway. Just make fake a bunch of fake sales so the money comes out clean, needing to effectively manage a restaurant is a lot of overhead for someone who may have no interest in running a legitimate business.