Unify the playlist locking mechanism