"Lock after screen timeout" takes no effect when "Power button instantly locks" is selected

Expected Behavior

Screen does not lock immediately after being turned off, when Lock after screen timeout is set. The locking sound isn't played when screen goes dark.

Current Behavior

Screen locks immediately after being turned of, when Lock after screen timeout is set AND Power button instantly locks is set. The locking sound IS played when screen goes dark.

With such settings screen also locks after tapping the status bar (Tap to sleep), which may or may not be considered the same as tapping the power button.

Steps to Reproduce

  1. Choose a non-zero locking timeout (Lock after screen timeout)
  2. Enable instant locking with the power button (Power button instantly locks)
  3. Wait until the screen goes dark.

/device river /version lineage-17.1 /date 2020-08-16 /kernel Linux localhost 4.9.206-perf+ #1 SMP PREEMPT Sun Aug 16 06:58:46 UTC 2020 aarch64 /baseband M632_11.47.01.85R

river-lock.log

I have read the directions

Assignee Loading
Time tracking Loading