I can think of a couple ways to do this.
1. You could simply start an async read-write transaction, and then (within the transaction block) sleep for a period of time.
2. Another option is set the databaseConnection.permittedTransactions property. You could simply set the value to YDB_AnyReadTransaction for a period of time. (You’ll need to do this for all your connections. Or, at least, those connections you want to prevent read-write transactions on.)
The difference between the 2 options is this:
#1 : any read-write transaction will simply be queued until your sleeping transaction completes.
#2 : any read-write transaction attempt will throw an exception during that time period.