The locks don't work on cars.
On old 2238 you could use locks on containers, I guess it's the same thing here.
The higher your character have in lockpick when he puts the lock, the harder it's hard to lockpick it. Never tested personnaly, but I've read it somewhere.
[Edit]
I've tried, the locks work perfectly on containers.
But the containers must be opened!