main
chore: enable early-return and superfluous-else from revive
all: Use ReplaceAll instead of Replace with -1 pos
update contrib/lock example