Ensures security measure such as successfully closing and locking doors and windows as well as setting the burglar alarm are consistently performed by all…