Does Percona XtraBackup lock the database during the backup?

​When do these restrictions apply? During the whole backup process or just the time when the non-innodb tables are being copied?