A newly appointed home secretary Priti Patel said she will do "everything in her power" to keep the country safe.