Changed The Locking System