Custom locking mechanism