word locking implemented