locking method