Fix compile because of case sensitivity
Remove runtime deadlock prevention as deadlock detection at compile-time is available

Conflicts:
	lib/core/locks.nim
Merge pull request #1643 from def-/fix-locks-case

Fix compile because of case sensitivity