Need more detail on this. Locks are generally caused by long updates or writes or perhaps a hung transaction. Can you reply with a bit more detail of what you are seeing, perhaps pg_stat_activity list?
Rule of thumb for high trx environments is to batch updates especially for larger tables to avoid excessive locking.