make stage locking