People that choose Python are "locked in" to a language that doesn't have static typing.
People that want to write code that runs in a Web browser are locked in to Javascript, so they're "locked in" to JS; I can't think of a platform where the only option is to use Python.