core: delete environment lock files