Added some sicurity locks