First, the harmless one:
Now the not-so-harmless one - my weaver got stuck like this in his workbench until it was moved. However, the beds don’t seem to block units forever luckily:
To reproduce the latter, simply have someone place the bed down. Often they’ll get stuck in for a few seconds, and flicker as they turn left/right a lot trying to walk out.