Change Locks into static class