expresses the view that
one's home is a private refuge where one should be free from unwarranted interference. It does not imply exemption from the law.
When i can do whatever I want in my house, I am the master in it., the saying “My house is my castle” is appropriate.