# Functions
New creates a new instance of the locker.
# Variables
ErrFailed is an error when the lock is not acquired.
ErrTimeout is an error when the lock is not acquired within the timeout.
# Type aliases
ReleaseFunc is an alias for a release lock function.