double-locking mechanism