locked var now isLocked