Publii uses the db.sqlite file directly (not in a memory), so yes – it is possible that Publii locks that file.
At this moment Publii is not prepared for a parallel work. It is still good if you want to create a website with other people not in parallel.
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!